Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.engine.transaction
Class Isolater.JtaDelegate  view Isolater.JtaDelegate download Isolater.JtaDelegate.java

java.lang.Object
  extended byorg.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).


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

Field Detail

session

private final org.hibernate.engine.SessionImplementor session
Constructor Detail

Isolater.JtaDelegate

public Isolater.JtaDelegate(org.hibernate.engine.SessionImplementor session)
Method Detail

delegateWork

public void delegateWork(IsolatedWork work)
                  throws org.hibernate.HibernateException
Specified by:
delegateWork in interface Isolater.Delegate