public abstract class

TransactionHelper

extends Object
java.lang.Object
   ↳ org.hibernate.engine.TransactionHelper
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Allows work to be done outside the current transaction, by suspending it, and performing work in a new transaction

Summary

Public Constructors
TransactionHelper()
Public Methods
Serializable doWorkInNewTransaction(SessionImplementor session)
Suspend the current transaction and perform work in a new transaction
Protected Methods
abstract Serializable doWorkInCurrentTransaction(Connection conn, String sql)
The work to be done
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TransactionHelper ()

Public Methods

public Serializable doWorkInNewTransaction (SessionImplementor session)

Suspend the current transaction and perform work in a new transaction

Protected Methods

protected abstract Serializable doWorkInCurrentTransaction (Connection conn, String sql)

The work to be done

Throws
SQLException