org.hibernate.engine.transaction

Class Isolater.JtaDelegate

Enclosing Class:
Isolater
Implemented Interfaces:
org.hibernate.engine.transaction.Isolater.Delegate

public static class Isolater.JtaDelegate
extends java.lang.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

JtaDelegate(SessionImplementor session)

Method Summary

void
delegateWork(IsolatedWork work, boolean transacted)

Constructor Details

JtaDelegate

public JtaDelegate(SessionImplementor session)

Method Details

delegateWork

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