Chapter 13. Cache Management

This chapter covers additional operations that you can perform on instances in the cache. In fact, the operations this chapter describes affect only the cache and the instances in the cache; they do not affect the datastore.

First, we describe some operations you can perform to explicitly control the management of instances in the cache. We discuss what occurs when you make a clone of a persistent instance. We introduce transient-transactional instances, which are transient instances that have transactional behavior. The chapter concludes by describing how you can convert a persistent instance into a transient instance.

Get Java Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.