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
|
setAccessorpublic DynamicSQLBatchWritingMechanism(DatabaseAccessor databaseAccessor)
public void appendCall(AbstractSession session, DatabaseCall dbCall)
appendCall in class BatchWritingMechanismpublic void clear()
clear in class BatchWritingMechanismpublic void executeBatchedStatements(AbstractSession session)
executeBatchedStatements in class BatchWritingMechanismEclipseLink 2.4.2, "build v20130514-5956486" API Reference