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

org.hibernate.engine.transaction.IsolatedWork Maven / Gradle / Ivy

There is a newer version: 3.6.0.Beta2
Show newest version
package org.hibernate.engine.transaction;

import org.hibernate.HibernateException;

import java.sql.Connection;

/**
 * Represents work that needs to be performed in a manner
 * which isolates it from any current application unit of
 * work transaction.
 *
 * @author Steve Ebersole
 */
public interface IsolatedWork {
	/**
	 * Perform the actual work to be done.
	 *
	 * @param connection The JDBC connection to use.
	 * @throws HibernateException
	 */
	public void doWork(Connection connection) throws HibernateException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy