Tony CHEMIT pushed to branch develop-5.x at ultreiaio / ird-observe

Commits:

1 changed file:

Changes:

  • topia-extension/src/main/java/org/nuiton/topia/service/sql/batch/actions/ReplicateTablesAction.java
    ... ... @@ -278,9 +278,10 @@ public class ReplicateTablesAction extends AbstractTablesAction<ReplicateTablesR
    278 278
                 if (columnValue instanceof String) {
    
    279 279
                     String stringValue = (String) columnValue;
    
    280 280
                     stringValue = "'" + stringValue.replaceAll("'", "''") + "'";
    
    281
    -                if (h2) {
    
    282
    -                    stringValue = "stringencode(" + stringValue + ")";
    
    283
    -                }
    
    281
    +                // Nope this does not work (See #
    
    282
    +//                if (h2) {
    
    283
    +//                    stringValue = "stringencode(" + stringValue + ")";
    
    284
    +//                }
    
    284 285
                     statement += ", " + stringValue;
    
    285 286
                     continue;
    
    286 287
                 }