mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 06:57:24 +00:00
#358 - ENH: Add ServerConfig updateAllPropertiesInBatch with a default of true
This commit is contained in:
1 parent
962d7f601d
commit
3fa8f04a4c
12 files changed
+149
-57
No files matched your search
@@ -158,7 +158,7 @@ public class ScopedTransaction implements SpiTransaction {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpdateAllLoadedProperties() {
|
||||
public Boolean isUpdateAllLoadedProperties() {
|
||||
return transaction.isUpdateAllLoadedProperties();
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,12 @@ public interface SpiEbeanServer extends EbeanServer, BeanLoader, BeanCollectionL
|
||||
* Return true if query origins should be collected.
|
||||
*/
|
||||
boolean isCollectQueryOrigins();
|
||||
|
||||
|
||||
/**
|
||||
* Return true if updates in JDBC batch should include all columns if unspecified on the transaction.
|
||||
*/
|
||||
boolean isUpdateAllPropertiesInBatch();
|
||||
|
||||
/**
|
||||
* Return the server configuration.
|
||||
*/
|
||||
|
||||
@@ -101,8 +101,9 @@ public interface SpiTransaction extends Transaction {
|
||||
|
||||
/**
|
||||
* Return true if this transaction has updateAllLoadedProperties set.
|
||||
* If null is returned the server default is used (set on ServerConfig).
|
||||
*/
|
||||
boolean isUpdateAllLoadedProperties();
|
||||
Boolean isUpdateAllLoadedProperties();
|
||||
|
||||
/**
|
||||
* Return the batchSize specifically set for this transaction or 0.
|
||||
|
||||
Reference in new issue
Block a user