public class DynamicSQLBatchWritingMechanism extends BatchWritingMechanism
Constructor and Description |
---|
DynamicSQLBatchWritingMechanism(DatabaseAccessor databaseAccessor) |
Modifier and Type | Method and Description |
---|---|
void |
appendCall(AbstractSession session,
DatabaseCall dbCall)
INTERNAL:
This method is called by the DatabaseAccessor to add this statement to the list of statements
being batched.
|
void |
clear()
INTERNAL:
This method is used to clear the batched statements without the need to execute the statements first
This is used in the case of rollback.
|
void |
executeBatchedStatements(AbstractSession session)
INTERNAL:
This method is used by the DatabaseAccessor to execute and clear the batched statements in the
case that a non batchable statement is being executed
|
clone, getMaxBatchSize, initialize, setAccessor, setMaxBatchSize
public DynamicSQLBatchWritingMechanism(DatabaseAccessor databaseAccessor)
public void appendCall(AbstractSession session, DatabaseCall dbCall)
appendCall
in class BatchWritingMechanism
public void clear()
clear
in class BatchWritingMechanism
public void executeBatchedStatements(AbstractSession session)
executeBatchedStatements
in class BatchWritingMechanism
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference