org.hibernate.engine.transaction
Class Isolater.JtaDelegate
java.lang.Object
org.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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Isolater.JtaDelegate
public Isolater.JtaDelegate(SessionImplementor session)
delegateWork
public void delegateWork(IsolatedWork work,
boolean transacted)
throws HibernateException
- Specified by:
delegateWork
in interface org.hibernate.engine.transaction.Isolater.Delegate
- Throws:
HibernateException