org.hibernate.engine
Class TransactionHelper
java.lang.Objectorg.hibernate.engine.TransactionHelper
public abstract class TransactionHelper
extends java.lang.Object
Allows work to be done outside the current transaction, by suspending it,
and performing work in a new transaction
doWorkInCurrentTransaction
protected abstract Serializable doWorkInCurrentTransaction(Connection conn,
String sql)
throws SQLException The work to be done
doWorkInNewTransaction
public Serializable doWorkInNewTransaction(SessionImplementor session)
throws HibernateException Suspend the current transaction and perform work in a new transaction