|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.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 DaoTransactionManagertransaction - A previously started transaction.
DaoException - If a data access exception is thrown
public void configure(java.util.Properties properties)
throws DaoException
Properties are specified in the iBATIS dao.xml file.
configure in interface DaoTransactionManagerproperties - The properties associated with the transaction manager
DaoException - If a DaoException occurs
public void rollbackTransaction(DaoTransaction transaction)
throws DaoException
rollbackTransaction in interface DaoTransactionManagertransaction - A previously started transaction.
DaoException - If a data access exception is thrown
public DaoTransaction startTransaction()
throws DaoException
startTransaction in interface DaoTransactionManagerDaoException - If a data access exception is thrown
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||