mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1489 - removed the concat-operator "||" and replaced with "concat()"
This commit is contained in:
1 parent
a020bb15a1
commit
0036473971
3 files changed
+5
-11
No files matched your search
@@ -49,8 +49,7 @@ abstract class BaseDbExpression implements DbExpressionHandler {
|
||||
@Override
|
||||
public String concat(String property0, String separator, String property1, String suffix) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("CONCAT(").append(property0).append(",'").append(separator).append("',").append(property1);
|
||||
|
||||
sb.append("concat(").append(property0).append(",'").append(separator).append("',").append(property1);
|
||||
if (suffix != null && !suffix.isEmpty()) {
|
||||
sb.append(",'").append(suffix).append('\'');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user