|| operator == Op.CONTAINS || operator == Op.DOES_NOT_CONTAIN) { GlobalConfig config = AppBeans.get(Configuration.class).getConfig(GlobalConfig.class); if (config.getDisableEscapingLikeForDataStores() == null || !config.getDisableEscapingLikeForDataStores().contains(thisStore)) { sb.append(" ESCAPE '").append(QueryUtils.ESCAPE_CHARACTER).append("' ");
String thisStore = AppBeans.get(MetadataTools.class).getStoreName(condition.getEntityMetaClass()); GlobalConfig config = AppBeans.get(Configuration.class).getConfig(GlobalConfig.class); if (config.getDisableEscapingLikeForDataStores() == null || !config.getDisableEscapingLikeForDataStores().contains(thisStore)) { escapedValue = QueryUtils.escapeForLike(escapedValue);