if (!created && txScope.isBatchSet() || txScope.isBatchOnCascadeSet() || txScope.isBatchSizeSet()) { restoreBatch = transaction.isBatchMode(); restoreBatchOnCascade = transaction.isBatchOnCascade(); transaction.setBatchOnCascade(txScope.isBatchOnCascade()); if (txScope.isBatchSizeSet()) { transaction.setBatchSize(txScope.getBatchSize());
if (!created && txScope.isBatchSet() || txScope.isBatchOnCascadeSet() || txScope.isBatchSizeSet()) { restoreBatch = transaction.isBatchMode(); restoreBatchOnCascade = transaction.isBatchOnCascade(); transaction.setBatchOnCascade(txScope.isBatchOnCascade()); if (txScope.isBatchSizeSet()) { transaction.setBatchSize(txScope.getBatchSize());