A persistence context is a set of entity instances in which for any persistent entity identity there is a unique entity instance. The lifecycle of all entity instances within a single persistence context are managed by a single entity manager.