FileDocCategorySizeDatePackage
NonBatchingBatcher.javaAPI DocHibernate 3.2.5912Thu Jun 22 14:51:44 BST 2006org.hibernate.jdbc

NonBatchingBatcher

public class NonBatchingBatcher extends AbstractBatcher
An implementation of the Batcher interface that does no batching
author
Gavin King

Fields Summary
Constructors Summary
public NonBatchingBatcher(ConnectionManager connectionManager, org.hibernate.Interceptor interceptor)

		super( connectionManager, interceptor );
	
Methods Summary
public voidaddToBatch(Expectation expectation)

		PreparedStatement statement = getStatement();
		final int rowCount = statement.executeUpdate();
		expectation.verifyOutcome( rowCount, statement, 0 );
	
protected voiddoExecuteBatch(java.sql.PreparedStatement ps)