/** * Check for batchSize being set without batch mode and use this to imply PersistBatch.ALL. */publicvoid checkBatchMode() {
if (batchSize > 0 && notSet(batch) && notSet(batchOnCascade)) {
// Use setting the batchSize as implying PersistBatch.ALL for @Transactional batch = PersistBatch.ALL;
}
}