
org.hibernate.jdbc.Expectation Maven / Gradle / Ivy
The newest version!
package org.hibernate.jdbc;
import org.hibernate.HibernateException;
import java.sql.SQLException;
import java.sql.PreparedStatement;
/**
* Defines an expected DML operation outcome.
*
* @author Steve Ebersole
*/
public interface Expectation {
public void verifyOutcome(int rowCount, PreparedStatement statement, int batchPosition) throws SQLException, HibernateException;
public int prepare(PreparedStatement statement) throws SQLException, HibernateException;
public boolean canBeBatched();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy