Home » Search

About Persistence Context

31-40 of 200Refresh
JPA Doc
22

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
21

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
18

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
18

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
Manual
17

Database Connection using JPA

Working with the Java Persistence API (JPA) consists of using the following interfaces: Overview ... a static factory method of the JPA bootstrap class, Persistence: EntityManagerFactory emf = Persistence.createEntityManagerFactory("myDbFile.odb"); Another form
Tutorial
15

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
15

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
JPA Doc
14

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
Manual
14

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions (their schema ... and non persistent fields. However, additions, deletions and modifications to the persistent fields ... to any numeric type. In this context numeric types are: byte, short, char, int, long, float, double
JPA Doc
13

JPA Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The four most basic JPA types are: All the other JPA types are organized