Refactor DatabasePlatform - rename getters to accessors

Although this is public API these getters are not expected to be used
by application code so, I feel comfortable making this change.
This commit is contained in:
Rob Bygrave
2022-08-25 10:34:39 +12:00
parent 341b9a7449
commit 456086fb3c
56 changed files with 160 additions and 161 deletions
@@ -134,7 +134,7 @@ public class TestBatchInsertSimple extends BaseTestCase {
Transaction transaction = DB.beginTransaction();
try {
transaction.setBatchMode(true);
transaction.setBatchOnCascade(PersistBatch.ALL.equals(spiEbeanServer().databasePlatform().getPersistBatchOnCascade()));
transaction.setBatchOnCascade(PersistBatch.ALL.equals(spiEbeanServer().databasePlatform().persistBatchOnCascade()));
transaction.setBatchSize(20);
// escalate based on batchOnCascade value