|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.dao.engine.transaction.toplink.ToplinkDaoTransactionManager
The ToplinkDaoTransactionManager
is used by the Dao framework
to manage transactions for the Toplink DAO implementation.
Constructor Summary | |
ToplinkDaoTransactionManager()
|
Method Summary | |
void |
commitTransaction(DaoTransaction transaction)
Commits pending object changes to permanent storage. |
void |
configure(java.util.Properties properties)
Called by the DAO framework upon instantiation to set configuration properties for the manager. |
void |
rollbackTransaction(DaoTransaction transaction)
Reverts pending object changes and returns objects to their original state. |
DaoTransaction |
startTransaction()
Starts a new transaction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ToplinkDaoTransactionManager()
Method Detail |
public void commitTransaction(DaoTransaction transaction) throws DaoException
commitTransaction
in interface DaoTransactionManager
transaction
- A previously started transaction.
DaoException
- If a data access exception is thrownpublic void configure(java.util.Properties properties) throws DaoException
Properties are specified in the iBATIS dao.xml file.
configure
in interface DaoTransactionManager
properties
- The properties associated with the transaction manager
DaoException
- If a DaoException occurspublic void rollbackTransaction(DaoTransaction transaction) throws DaoException
rollbackTransaction
in interface DaoTransactionManager
transaction
- A previously started transaction.
DaoException
- If a data access exception is thrownpublic DaoTransaction startTransaction() throws DaoException
startTransaction
in interface DaoTransactionManager
DaoException
- If a data access exception is thrown
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |