<BUG>condition = "CAST(" + columnName + " AS VARCHAR(40)) = ? and ";</BUG><CONTEXT>if (isAllCondition(pattern)) {condition = "";value = null;} else if (hasNoWildcards(pattern)) {value = stripEscape(pattern);<extra_id_0>} else {value = pattern + SPACES_15 + "%";condition = columnName + " || '" + SPACES_31 + "' like ? escape '\\' and ";</CONTEXT>
condition = "CAST(" + columnName + " AS VARCHAR(" + (OBJECT_NAME_LENGTH + 10) + ")) = ? and ";