mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1504 - ENH: Add SqlUpdate executeNow() method ... that executes now regardless of transaction batch mode
This commit is contained in:
1 parent
82e68d7756
commit
b87e360ac7
9 files changed
+90
-6
No files matched your search
@@ -150,6 +150,11 @@ public final class DefaultPersister implements Persister {
|
||||
return executeOrQueue(new PersistRequestUpdateSql(server, (SpiSqlUpdate) updSql, (SpiTransaction) t, persistExecute));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int executeSqlUpdateNow(SpiSqlUpdate updSql, Transaction t) {
|
||||
return executeOrQueue(new PersistRequestUpdateSql(server, updSql, (SpiTransaction) t, persistExecute, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore draft beans to match live beans given the query.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user