org.hibernate.engine.transaction
Class Isolater.JtaDelegate

java.lang.Object
  extended byorg.hibernate.engine.transaction.Isolater.JtaDelegate
All Implemented Interfaces:
org.hibernate.engine.transaction.Isolater.Delegate
Enclosing class:
Isolater

public static class Isolater.JtaDelegate
extends Object
implements org.hibernate.engine.transaction.Isolater.Delegate

An isolation delegate for JTA-based transactions. Essentially susepnds any current transaction, does the work in a new transaction, and then resumes the initial transaction (if there was one).


Constructor Summary
Isolater.JtaDelegate(SessionImplementor session)
           
 
Method Summary
 void delegateWork(IsolatedWork work, boolean transacted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Isolater.JtaDelegate

public Isolater.JtaDelegate(SessionImplementor session)
Method Detail

delegateWork

public void delegateWork(IsolatedWork work,
                         boolean transacted)
                  throws HibernateException
Specified by:
delegateWork in interface org.hibernate.engine.transaction.Isolater.Delegate
Throws:
HibernateException