|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| 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 TransactionTransactionException
public void commit()
throws TransactionException
commit in interface TransactionTransactionException
public void rollback()
throws TransactionException
rollback in interface TransactionTransactionException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||