Home » Search

About Persistence Context

11-20 of 200Refresh
Manual
42

JPA Persistable Types

The term persistable types refers to data types that can be used in storing data in the database. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In
FAQ
39

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java ... . Using plain old Java objects (POJO) to represent persistent data can significantly simplify database ... Persistence API (JPA). By interacting with ObjectDB using standard JPA you can keep your application
JPA Doc
35

javax.persistence.EntityManager

javax.persistence Interface EntityManager Interface used to interact with the persistence context. An EntityManager instance is associated with a persistence context. A persistence context is a set ... . Within the persistence context, the entity instances and their lifecycle are managed
Manual
31

Shared (L2) Entity Cache

Every EntityManager owns a persistence context, which is a collection of all the entity objects that it manages. The persistence context serves as a first level cache. An attempt to retrieve ... the persistence context, rather than a new instantiated entity object. The scope of the persistence context
JDO Doc
29

getPersistenceManagerFactory(jndiLocation, context)

 jndiLocation,   Context context ) Returns a PersistenceManagerFactory at the JNDI location specified by jndiLocation in the context context. If context is null, new InitialContext() will be used. This method is equivalent to invoking getPersistenceManagerFactory(String,Context,ClassLoader
JDO Doc
29

getPersistenceManagerFactory(jndiLocation, context, loader)

 jndiLocation,   Context context,   ClassLoader loader ) Returns a PersistenceManagerFactory at the JNDI location specified by jndiLocation in the context context. If context is null, new ... the PersistenceManagerFactory context - the context in which to find the named PersistenceManagerFactory
Manual
29

Retrieving JPA Entity Objects

of the database. The persistence context serves as a cache of retrieved entity objects. If a requested entity object is not found in the persistence context a new object is constructed and filled ... is then added to the persistence context as a managed entity object and returned to the application
Issue
27

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test mode ... () and has an entity manager with an extended persistence context. The basic idea (which used to work fine in practice ... persistence context entity manager is: @Stateful public class ExtProjectBuilder extends
Forum
25

How to Use a SF with extended Persistence Context?

Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. The need for an extended persistence Context emerges for the need to create queries in advance for fast ... with an extended persistence context. the GuestServlet holds reference to a SL called GuestUpdater
JPA Doc
25

javax.persistence.PersistenceContext

PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Default value: javax.persistence