/** * This method will be called after a series of writes have been issued to * mark where a particular set of writes has completed. It will be called * from commitTransaction and may be called from writeChanges. Its main * purpose is to ensure that the batched statements have been executed */ public void writesCompleted(AbstractSession session) { if (isConnected && isInBatchWritingMode(session)) { getActiveBatchWritingMechanism(session).executeBatchedStatements(session); } }
/** * This method will be called after a series of writes have been issued to * mark where a particular set of writes has completed. It will be called * from commitTransaction and may be called from writeChanges. Its main * purpose is to ensure that the batched statements have been executed */ public void writesCompleted(AbstractSession session) { if (isInBatchWritingMode(session)) { getActiveBatchWritingMechanism().executeBatchedStatements(session); } } }
/** * This method will be called after a series of writes have been issued to * mark where a particular set of writes has completed. It will be called * from commitTransaction and may be called from writeChanges. Its main * purpose is to ensure that the batched statements have been executed */ @Override public void writesCompleted(AbstractSession session) { if (isConnected && isInBatchWritingMode(session)) { getActiveBatchWritingMechanism(session).executeBatchedStatements(session); } } }
getActiveBatchWritingMechanism(session).executeBatchedStatements(session);
getActiveBatchWritingMechanism().executeBatchedStatements(session);
getActiveBatchWritingMechanism(session).executeBatchedStatements(session);