Merge pull request #2518 from FOCONIS/db2/fix-concat-operator

DB2: Fix Concat operator
This commit is contained in:
Rob Bygrave
2022-01-29 15:05:58 +13:00
committed by GitHub
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: