lumis.portal.transaction
Interface ITransaction

Package class diagram package ITransaction
All Superinterfaces:
ITransaction
All Known Subinterfaces:
ITransactionHibernate, ITransactionJdbc, ITransactionSPI
All Known Implementing Classes:
TransactionHibernate

@StableMinor(version="4.2",
             sinceVersion="4.2")
public interface ITransaction
extends ITransaction

Represents a transaction that offers persistence access. An instance of transaction is not thread-safe.

It is important to always call ITransaction.dispose() for a transaction after it is used. To guarantee this, it should be called inside a finally block. (See code example in lumis.portal.transaction).

Since:
4.2.0

Method Summary
 
Methods inherited from interface lumis.util.ITransaction
addObserver, begin, commit, dispose, getAttribute, getByConnectionId, isActive, removeAttribute, removeObserver, rollback, setAttribute
 



Lumisportal  4.2.1.080903 - Copyright © 2001-2007, Lumis. All Rights Reserved.