public class BatchingBatcher extends AbstractBatcher
log| Constructor and Description |
|---|
BatchingBatcher(ConnectionManager connectionManager,
Interceptor interceptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBatch(Expectation expectation)
Add an insert / delete / update to the current batch (might be called multiple times
for single prepareBatchStatement())
|
protected void |
doExecuteBatch(java.sql.PreparedStatement ps) |
abortBatch, cancelLastQuery, closeConnection, closeQueryStatement, closeStatement, closeStatements, executeBatch, getFactory, getResultSet, getResultSet, getStatement, hasOpenResources, openConnection, openResourceStatsAsString, prepareBatchCallableStatement, prepareBatchStatement, prepareCallableQueryStatement, prepareCallableStatement, prepareQueryStatement, prepareSelectStatement, prepareStatement, prepareStatement, prepareStatement, setTransactionTimeout, unsetTransactionTimeoutpublic BatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor)
public void addToBatch(Expectation expectation) throws java.sql.SQLException, HibernateException
Batcherjava.sql.SQLExceptionHibernateExceptionprotected void doExecuteBatch(java.sql.PreparedStatement ps)
throws java.sql.SQLException,
HibernateException
doExecuteBatch in class AbstractBatcherjava.sql.SQLExceptionHibernateExceptionCopyright © 2013. All Rights Reserved.