Package org.hibernate.jdbc
Class NonBatchingBatcher
java.lang.Object
org.hibernate.jdbc.AbstractBatcher
org.hibernate.jdbc.NonBatchingBatcher
- All Implemented Interfaces:
Batcher
An implementation of the Batcher interface that does no batching
-
Field Summary
Fields inherited from class org.hibernate.jdbc.AbstractBatcher
log -
Constructor Summary
ConstructorsConstructorDescriptionNonBatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToBatch(Expectation expectation) Add an insert / delete / update to the current batch (might be called multiple times for single prepareBatchStatement())protected voidMethods inherited from class org.hibernate.jdbc.AbstractBatcher
abortBatch, cancelLastQuery, closeConnection, closeQueryStatement, closeStatement, closeStatements, executeBatch, getFactory, getResultSet, getResultSet, getStatement, hasOpenResources, openConnection, openResourceStatsAsString, prepareBatchCallableStatement, prepareBatchStatement, prepareCallableQueryStatement, prepareCallableStatement, prepareQueryStatement, prepareSelectStatement, prepareStatement, prepareStatement, prepareStatement, setTransactionTimeout, unsetTransactionTimeout
-
Constructor Details
-
NonBatchingBatcher
-
-
Method Details
-
addToBatch
Description copied from interface:BatcherAdd an insert / delete / update to the current batch (might be called multiple times for single prepareBatchStatement())- Throws:
SQLExceptionHibernateException
-
doExecuteBatch
- Specified by:
doExecuteBatchin classAbstractBatcher- Throws:
SQLExceptionHibernateException
-