站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Expectation (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.jdbc
Interface Expectation

All Known Implementing Classes:
Expectations.BasicExpectation

public interface Expectation

Defines an expected DML operation outcome.

Author:
Steve Ebersole

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

Method Detail

verifyOutcome

public void verifyOutcome(int rowCount,
                          PreparedStatement statement,
                          int batchPosition)
                   throws SQLException,
                          HibernateException
Throws:
SQLException
HibernateException

prepare

public int prepare(PreparedStatement statement)
            throws SQLException,
                   HibernateException
Throws:
SQLException
HibernateException

canBeBatched

public boolean canBeBatched()