About Persistence Context

31-40 of 200Refresh
JPA Doc
18

javax.persistence.MappedSuperclass

javax.persistence Annotation MappedSuperclass Target: Classes Designates a class whose mapping information is applied to the entities that inherit from it. A mapped superclass has no separate table ... the context of the subclass tables. Mapping information may be overridden in such subclasses by using
Forum
17

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd be able ... an MVC, its just pure Spring application and I need to avoid creating persistance.xml file. My previous database.xml (which is included in application-context.xml) look like this
Forum
17

Puzzler: Not getting cascades on read from Spring context

. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context.    -dh
JDO Doc
16

javax.jdo.JDOHelper

whether the instance is persistent, transactional, dirty, new, deleted, or detached ... with the parameter instance. Persistent instances of PersistenceCapable classes have a JDO identity ... from the same JDO implementation to locate a persistent instance with the same data store identity
Manual
15

Detached Entity Objects

The following operations clear the entire EntityManager's persistence context and detach all managed ... method, which clears an EntityManager's persistence context. Rolling back a transaction - either by ... ). Retrieval by navigation from detached objects is not supported, so only persistent fields
Tutorial
13

Step 2: Define a JPA Entity Class

code: package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public ... ; // Persistent Fields: @Id @GeneratedValue Long id; private String name; private
Tutorial
13

Step 2: Define a JPA Entity Class

.Serializable; import java.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Guest implements Serializable { private static final long serialVersionUID = 1L; // Persistent Fields: @Id
Manual
13

CRUD Database Operations with JPA [2011-02-11]

= 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em ... a managed entity) by the persist method. The new Point objects are physically stored in the database ... persisting objects in the database in more detail. JPA Queries with JPQL We can get the number of Point
Manual
13

CRUD Database Operations with JPA

= 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em ... a managed entity) by the persist method. The new Point objects are physically stored in the database ... persisting objects in the database in more detail. JPA Queries with JPQL We can get the number of Point
JPA Doc
12

javax.persistence.Persistence

javax.persistence Class Persistence java.lang.Object javax.persistence.Persistence Bootstrap class that is used to obtain an EntityManagerFactory in Java SE environments. The Persistence ... bootstrapping APIs is not required in container environments. The Persistence class is used to obtain