8.8. Closing
Prev | Chapter 8. PersistenceManager | Next

## 8.8. Closing

When a `PersistenceManager` is no longer needed, you should call its `close` method. Closing a `PersistenceManager` releases any resources it is using. The persistent instances managed by the `PersistenceManager` become invalid, as do any `Query` and `Extent` objects it created. Calling any method other than `isClosed` on a closed `PersistenceManager` results in a `JDOUserException`.

Prev | Up | Next
8.7. Query Factory | Home | Chapter 9. Transaction