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, unsetTransactionTimeout
public BatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor)
public void addToBatch(Expectation expectation) throws java.sql.SQLException, HibernateException
Batcher
java.sql.SQLException
HibernateException
protected void doExecuteBatch(java.sql.PreparedStatement ps) throws java.sql.SQLException, HibernateException
doExecuteBatch
in class AbstractBatcher
java.sql.SQLException
HibernateException
Copyright © 2013. All Rights Reserved.