DB2: FIX Concat operator

This commit is contained in:
Roland Praml
2022-01-05 16:41:41 +01:00
parent bb91b5319d
commit 1f6916775b
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,13 @@
package io.ebeaninternal.server.expression.platform;
/**
* DB2 handling of platform specific expressions. ARRAY expressions not supported.
*/
final class Db2DbExpression extends BasicDbExpression {
@Override
public String concat(String property0, String separator, String property1, String suffix) {
return concatOperator(property0, separator, property1, suffix);
}
}
@@ -25,6 +25,8 @@ public final class DbExpressionHandlerFactory {
case ORACLE:
case ORACLE11:
return new OracleDbExpression();
case DB2:
return new Db2DbExpression();
case SQLSERVER16:
case SQLSERVER17:
case SQLSERVER: