Top Description Fields Constructors Methods
org.hibernate.jdbc

public Class NonBatchingBatcher

extends AbstractBatcher
Class Inheritance
Imports
java.sql.PreparedStatement, .SQLException, org.hibernate.HibernateException, .Interceptor

An implementation of the Batcher interface that does no batching
Author
Gavin King

Field Summary

Inherited from org.hibernate.jdbc.AbstractBatcher:
isTransactionTimeoutSetlog

Constructor Summary

AccessConstructor and Description
public
NonBatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor)

Method Summary

Modifier and TypeMethod and Description
public void
addToBatch(Expectation expectation)

Implements org.hibernate.jdbc.Batcher.addToBatch.

Add an insert / delete / update to the current batch (might be called multiple times for single prepareBatchStatement())
protected void
Inherited from org.hibernate.jdbc.AbstractBatcher:
abortBatchcancelLastQuerycloseConnectioncloseQueryStatementcloseStatementcloseStatementsexecuteBatchgetFactorygetResultSetgetResultSetgetStatementhasOpenResourcesopenConnectionopenResourceStatsAsStringprepareBatchCallableStatementprepareBatchStatementprepareCallableQueryStatementprepareCallableStatementprepareQueryStatementprepareSelectStatementprepareStatementprepareStatementprepareStatementsetTransactionTimeoutunsetTransactionTimeout

Constructor Detail

NonBatchingBatcherback to summary
public NonBatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor)

Method Detail

addToBatchback to summary
public void addToBatch(Expectation expectation) throws SQLException, HibernateException

Implements org.hibernate.jdbc.Batcher.addToBatch.

Doc from org.hibernate.jdbc.Batcher.addToBatch.

Add an insert / delete / update to the current batch (might be called multiple times for single prepareBatchStatement())

doExecuteBatchback to summary
protected void doExecuteBatch(PreparedStatement ps) throws SQLException, HibernateException

Implements abstract org.hibernate.jdbc.AbstractBatcher.doExecuteBatch.