org.hibernate.jdbc
Interface Expectation

All Known Implementing Classes:
Expectations.BasicExpectation, Expectations.BasicParamExpectation

public interface Expectation

Defines an expected DML operation outcome.

Author:
Steve Ebersole

Method Summary
 boolean canBeBatched()
           
 int prepare(java.sql.PreparedStatement statement)
           
 void verifyOutcome(int rowCount, java.sql.PreparedStatement statement, int batchPosition)
           
 

Method Detail

verifyOutcome

void verifyOutcome(int rowCount,
                   java.sql.PreparedStatement statement,
                   int batchPosition)
                   throws java.sql.SQLException,
                          HibernateException
Throws:
java.sql.SQLException
HibernateException

prepare

int prepare(java.sql.PreparedStatement statement)
            throws java.sql.SQLException,
                   HibernateException
Throws:
java.sql.SQLException
HibernateException

canBeBatched

boolean canBeBatched()


Copyright © 2008 Hibernate.org. All Rights Reserved.