org.hibernate.engine.transaction
Class Isolater

java.lang.Object
  extended byorg.hibernate.engine.transaction.Isolater

public class Isolater
extends Object

Class which provides the isolation semantics required by an IsolatedWork.

Author:
Steve Ebersole

Nested Class Summary
static class Isolater.JdbcDelegate
          An isolation delegate for JDBC-based transactions.
static class Isolater.JtaDelegate
          An isolation delegate for JTA-based transactions.
 
Constructor Summary
Isolater()
           
 
Method Summary
static void doIsolatedWork(IsolatedWork work, SessionImplementor session)
          The exposed service of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Isolater

public Isolater()
Method Detail

doIsolatedWork

public static void doIsolatedWork(IsolatedWork work,
                                  SessionImplementor session)
                           throws HibernateException
The exposed service of this class. Ensures that all work actually performed by the given work will occur on a seperate transaction.

Parameters:
work - The work to be performed.
session - The session from which this request is originating.
Throws:
HibernateException