mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2390 - Tidy generated SQL removing excess whitespace after id = ? predicate
This commit is contained in:
1 parent
0a4c26965c
commit
3244314424
5 files changed
+7
-9
No files matched your search
@@ -36,7 +36,7 @@ public final class IdBinderSimple implements IdBinder {
|
||||
this.idProperty = idProperty;
|
||||
this.scalarType = idProperty.scalarType();
|
||||
this.expectedType = idProperty.type();
|
||||
bindIdSql = InternString.intern(idProperty.dbColumn() + " = ? ");
|
||||
bindIdSql = InternString.intern(idProperty.dbColumn() + " = ?");
|
||||
this.multiValueBind = multiValueBind;
|
||||
}
|
||||
|
||||
|
||||
@@ -651,7 +651,7 @@ final class CQueryBuilder {
|
||||
// strip the table alias for use in update statement
|
||||
idSql = idSql.replace("t0.", "");
|
||||
}
|
||||
sb.append(idSql).append(" ");
|
||||
sb.append(idSql);
|
||||
hasWhere = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user