Skip to content

Commit

Permalink
DB2: FIX Concat operator
Browse files Browse the repository at this point in the history
  • Loading branch information
rPraml committed Jan 5, 2022
1 parent bb91b53 commit 1f69167
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public static DbExpressionHandler from(DatabasePlatform databasePlatform) {
case ORACLE:
case ORACLE11:
return new OracleDbExpression();
case DB2:
return new Db2DbExpression();
case SQLSERVER16:
case SQLSERVER17:
case SQLSERVER:
Expand Down

0 comments on commit 1f69167

Please sign in to comment.