public class NonBatchingBatcher extends AbstractBatcher
log
Constructor and Description |
---|
NonBatchingBatcher(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, unsetTransactionTimeout
public NonBatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor)
public void addToBatch(Expectation expectation) throws SQLException, HibernateException
Batcher
SQLException
HibernateException
protected void doExecuteBatch(PreparedStatement ps) throws SQLException, HibernateException
doExecuteBatch
in class AbstractBatcher
SQLException
HibernateException
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved