站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Isolater.JtaDelegate (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.engine.transaction
Class Isolater.JtaDelegate

java.lang.Object
  extended byorg.hibernate.engine.transaction.Isolater.JtaDelegate
All Implemented Interfaces:
org.hibernate.engine.transaction.Isolater.Delegate
Enclosing class:
Isolater

public static class Isolater.JtaDelegate
extends Object
implements org.hibernate.engine.transaction.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).


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

Constructor Detail

Isolater.JtaDelegate

public Isolater.JtaDelegate(SessionImplementor session)
Method Detail

delegateWork

public void delegateWork(IsolatedWork work,
                         boolean transacted)
                  throws HibernateException
Specified by:
delegateWork in interface org.hibernate.engine.transaction.Isolater.Delegate
Throws:
HibernateException