java.lang.Object
org.hibernate.engine.transaction.Isolater.JtaDelegate
- All Implemented Interfaces:
- Isolater.Delegate
- Enclosing class:
- Isolater
- public static class Isolater.JtaDelegate
- extends java.lang.Object
- implements 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 |
session
private final org.hibernate.engine.SessionImplementor session
Isolater.JtaDelegate
public Isolater.JtaDelegate(org.hibernate.engine.SessionImplementor session)
delegateWork
public void delegateWork(IsolatedWork work)
throws org.hibernate.HibernateException
- Specified by:
delegateWork in interface Isolater.Delegate