org.hibernate.engine.jdbc.batch.internal
Class NonBatchingBatch
java.lang.Object
org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl
org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch
- All Implemented Interfaces:
- Batch
public class NonBatchingBatch
- extends AbstractBatchImpl
An implementation of Batch
which does not perform batching. It simply
executes each statement as it is encountered.
Methods inherited from class org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl |
abortBatch, addObserver, execute, getBatchStatement, getKey, getStatements, notifyObserversExplicitExecution, notifyObserversImplicitExecution, release, releaseStatements, sqlExceptionHelper, sqlStatementLogger, transactionContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonBatchingBatch
protected NonBatchingBatch(BatchKey key,
JdbcCoordinator jdbcCoordinator)
addToBatch
public void addToBatch()
- Description copied from interface:
Batch
- Indicates completion of the current part of the batch.
clearBatch
protected void clearBatch(PreparedStatement statement)
- Overrides:
clearBatch
in class AbstractBatchImpl
doExecuteBatch
protected void doExecuteBatch()
- Description copied from class:
AbstractBatchImpl
- Perform batch execution.
This is called from the explicit
execution
, but may also be called from elsewhere
depending on the exact implementation.
- Specified by:
doExecuteBatch
in class AbstractBatchImpl
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.