8.3. Transaction Association
Prev | Chapter 8. PersistenceManager | Next

## 8.3. Transaction Association

    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.

Prev | Up | Next
8.2. Configuration Properties | Home | 8.4. FetchPlan Association