|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.jdbc.AbstractBatcher
org.hibernate.jdbc.BatchingBatcher
public class BatchingBatcher
An implementation of the Batcher interface that actually uses batching
Field Summary |
---|
Fields inherited from class org.hibernate.jdbc.AbstractBatcher |
---|
log |
Constructor Summary | |
---|---|
BatchingBatcher(ConnectionManager connectionManager,
Interceptor interceptor)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |