mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1354 - ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
This commit is contained in:
1 parent
534eb2f0e2
commit
cca837bcfa
4 files changed
+8
-8
No files matched your search
@@ -277,7 +277,7 @@ public final class IdBinderEmbedded implements IdBinder {
|
||||
public void bindId(DefaultSqlUpdate sqlUpdate, Object value) {
|
||||
for (BeanProperty prop : props) {
|
||||
Object embFieldValue = prop.getValue((EntityBean) value);
|
||||
sqlUpdate.addParameter(embFieldValue);
|
||||
sqlUpdate.setNextParameter(embFieldValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user