All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.jdbc.Expectation Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show 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 - 2024 Weber Informatics LLC | Privacy Policy