class VdsSqlEscapingStrategy implements SqlAndMetadataEscapingStrategy {

    @Override
    public String sqlEscape(DatabaseMetaData databaseMetaData, String sql) {
        /*
         *  name is going to be used in LIKE condition, need to escape wildcard chars
         *  Bug 31086 - Domains: Moving all VDS tables cause error: java.lang.IllegalArgumentException: fromKey > toKey
         *  name is going to be used in LIKE condition, need to escape wildcard chars
         */
        return sql.replace("\\","\\\\").replace("_", "\\_");
    }

}