About Persistence Context

manual

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context.... Entity Object Life Cycle The Persistence Context Entity Object Life Cycle The life cycle ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in an Eclipse Web Application.... by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to ... stores it as an application scope attribute in the servlet context - when the web application starts ( contextInitialized ). ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in a NetBeans Web Application.... by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to ... stores it as an application scope attribute in the servlet context - when the web application starts ( contextInitialized ). ...

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... the object with an owner EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... em and changes its state to ...

 
api-jpa

javax.persistence.EntityManager

Interface used to interact with the persistence context.(Interface of JPA)

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction. Working with the Java Persistence API (JPA) consists of using the following interfaces: This ... is represented by an EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... instance, which also provides ...

 
manual

Detached Entity Objects

Explains detached entity objects and how to work with detached objects in JPA, including merging them into an EntityManager.... they are not managed by any EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... but still represent objects ...

 
forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. ... the JPA spec by ObjectDB, but thanks to insistence and persistence from ObjectDB support I now concede the difference is due to an ... as described here: Extended Persistence Context in Stateful Session Beans This however has the consequence of ...

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2. Every EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... owns a persistence context ...

 
manual

Entity Management Settings

Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... the reference type for holding non dirty entities in the persistence context of the EntityManager javax.persistence.EntityManager JPA interface Interface used to interact ...