mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
DB2: FIX Concat operator
This commit is contained in:
+13
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
+2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user