|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for managing database transactions.
Field Summary |
Fields inherited from interface com.rhi.architecture.xa.Transaction |
TYPE_KEY |
Method Summary | |
void |
begin()
Start a new transaction. |
void |
commit()
Commit the transaction represented by this object. |
java.sql.Connection |
getConnection()
Get the connection associated w/ this DatabaseTransaction |
void |
rollback()
Rollback the transaction represented by this object. |
Method Detail |
public java.sql.Connection getConnection()
public void begin() throws TransactionException
begin
in interface Transaction
TransactionException
public void commit() throws TransactionException
commit
in interface Transaction
TransactionException
public void rollback() throws TransactionException
rollback
in interface Transaction
TransactionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |