DB2: Fix Concat operator

This commit is contained in:
Roland Praml
2022-01-28 09:38:41 +01:00
parent 1d11666945
commit d982ac73b7
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);
}
}
@@ -24,6 +24,8 @@ public final class DbExpressionHandlerFactory {
return new MySqlDbExpression();
case ORACLE:
return new OracleDbExpression();
case DB2:
return new Db2DbExpression();
case SQLSERVER:
return new SqlServerDbExpression();
case HANA: