|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.engine.transaction.Isolater
public class Isolater
Class which provides the isolation semantics required by
an IsolatedWork
. Processing comes in two flavors:
doIsolatedWork(org.hibernate.engine.transaction.IsolatedWork, org.hibernate.engine.SessionImplementor)
: makes sure the work to be done is
performed in a seperate, distinct transactiondoNonTransactedWork(org.hibernate.engine.transaction.IsolatedWork, org.hibernate.engine.SessionImplementor)
: makes sure the work to be
done is performed outside the scope of any transaction
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)
Ensures that all processing actually performed by the given work will occur on a seperate transaction. |
static void |
doNonTransactedWork(IsolatedWork work,
SessionImplementor session)
Ensures that all processing actually performed by the given work will occur outside of a transaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Isolater()
Method Detail |
---|
public static void doIsolatedWork(IsolatedWork work, SessionImplementor session) throws HibernateException
work
- The work to be performed.session
- The session from which this request is originating.
HibernateException
public static void doNonTransactedWork(IsolatedWork work, SessionImplementor session) throws HibernateException
work
- The work to be performed.session
- The session from which this request is originating.
HibernateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |