org.hibernate.test.insertordering
Class InsertOrderingTest.StatsBatch
java.lang.Object
org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl
org.hibernate.engine.jdbc.batch.internal.BatchingBatch
org.hibernate.test.insertordering.InsertOrderingTest.StatsBatch
- All Implemented Interfaces:
- Batch
- Enclosing class:
- InsertOrderingTest
public static class InsertOrderingTest.StatsBatch
- extends BatchingBatch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertOrderingTest.StatsBatch
public InsertOrderingTest.StatsBatch(BatchKey key,
JdbcCoordinator jdbcCoordinator,
int jdbcBatchSize)
getBatchStatement
public PreparedStatement getBatchStatement(String sql,
boolean callable)
- Description copied from interface:
Batch
- Get a statement which is part of the batch, creating if necessary (and storing for next time).
- Specified by:
getBatchStatement
in interface Batch
- Overrides:
getBatchStatement
in class BatchingBatch
- Parameters:
sql
- The SQL statement.callable
- Is the SQL statement callable?
- Returns:
- The prepared statement instance, representing the SQL statement.
addToBatch
public void addToBatch()
- Description copied from interface:
Batch
- Indicates completion of the current part of the batch.
- Specified by:
addToBatch
in interface Batch
- Overrides:
addToBatch
in class BatchingBatch
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.