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(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 SQLException, HibernateException
BatcherSQLExceptionHibernateExceptionprotected void doExecuteBatch(PreparedStatement ps) throws SQLException, HibernateException
doExecuteBatch in class AbstractBatcherSQLExceptionHibernateExceptionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved