예제 #1
0
        protected override void doAddWhereClause(List <String> conditionList, String columnName, ConditionValue value, ConditionOption option)
        {
            if (option == null)
            {
                String msg = "The argument[option] should not be null: columnName=" + columnName + " value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (!(option is LikeSearchOption))
            {
                String msg = "The argument[option] should be LikeSearchOption: columnName=" + columnName + " value=" + value;
                throw new IllegalArgumentException(msg);
            }
            LikeSearchOption myOption = (LikeSearchOption)option;

            conditionList.add(buildBindClauseWithRearOption(columnName, value.getNotLikeSearchLocation(), myOption.getRearOption()));
        }