ObjectDB ObjectDB

currentTransaction() - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
Transaction currentTransaction()

Return the Transaction instance associated with a PersistenceManager. There is one Transaction instance associated with each PersistenceManager instance. The Transaction instance supports options as well as transaction completion requests.
Returns:
the Transaction associated with this PersistenceManager.
Since:
JDO 1.0