public Transaction currentTransaction ();
Every PersistenceManager
has a one-to-one
relation with a
Transaction
instance. In
fact, many vendors use a single class to implement both
the PersistenceManager
and
Transaction
interfaces. If your
application requires multiple concurrent transactions, you will
use multiple PersistenceManager
s.
You can retrieve the Transaction
associated
with a PersistenceManager
through the
currentTransaction
method.
![]() ![]() |