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

org.hibernate.engine.jdbc.batch.spi.BatchKey Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.engine.jdbc.batch.spi;

import org.hibernate.jdbc.Expectation;

/**
 * Unique key for batch identification.
 *
 * @author Steve Ebersole
 */
public interface BatchKey {
	/**
	 * How many statements will be in this batch?
	 * 

* Note that this is distinctly different than the size of the batch. * * @return The number of statements. */ int getBatchedStatementCount(); /** * Get the expectation pertaining to the outcome of the {@link Batch} associated with this key. * * @return The expectations */ Expectation getExpectation(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy