Home » Hibernate-3.3.2.GA » org.hibernate » engine » transaction » [javadoc | source]
org.hibernate.engine.transaction
public class: Isolater [javadoc | source]
java.lang.Object
   org.hibernate.engine.transaction.Isolater
Class which provides the isolation semantics required by an IsolatedWork . Processing comes in two flavors:
Nested Class Summary:
public static class  Isolater.JtaDelegate  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). 
public static class  Isolater.JdbcDelegate  An isolation delegate for JDBC-based transactions. Basically just grabs a new connection and does the work on that. 
Method from org.hibernate.engine.transaction.Isolater Summary:
doIsolatedWork,   doNonTransactedWork
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.engine.transaction.Isolater Detail:
 public static  void doIsolatedWork(IsolatedWork work,
    SessionImplementor session) throws HibernateException 
    Ensures that all processing actually performed by the given work will occur on a seperate transaction.
 public static  void doNonTransactedWork(IsolatedWork work,
    SessionImplementor session) throws HibernateException 
    Ensures that all processing actually performed by the given work will occur outside of a transaction.