|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.xa.JDOTransactionImpl
Interface for managing JDO database transactions. This is not intended to be a distributed transaction class.
Field Summary |
Fields inherited from interface com.rhi.architecture.xa.Transaction |
TYPE_KEY |
Constructor Summary | |
JDOTransactionImpl()
default constructor |
Method Summary | |
void |
begin()
Start a new transaction. |
void |
commit()
Commit the transaction represented by this object. |
org.exolab.castor.jdo.Database |
getDatabase()
Get the connection associated w/ this DatabaseTransaction |
void |
rollback()
Rollback the transaction represented by this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDOTransactionImpl()
Method Detail |
public org.exolab.castor.jdo.Database getDatabase()
getDatabase
in interface JDOTransaction
public void begin() throws TransactionException
begin
in interface JDOTransaction
TransactionException
public void commit() throws TransactionException
commit
in interface JDOTransaction
TransactionException
public void rollback() throws TransactionException
rollback
in interface JDOTransaction
TransactionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |