当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
Isolater (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.engine.transaction
Class Isolater
java.lang.Object
org.hibernate.engine.transaction.Isolater
- public class Isolater
- extends Object
Class which provides the isolation semantics required by
an IsolatedWork
. Processing comes in two flavors:
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Isolater
public Isolater()
doIsolatedWork
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.
- Parameters:
work
- The work to be performed.session
- The session from which this request is originating.
- Throws:
HibernateException
doNonTransactedWork
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.
- Parameters:
work
- The work to be performed.session
- The session from which this request is originating.
- Throws:
HibernateException