About persist

11-20 of 200Refresh
Manual
43

Working with JPA Entity Objects

Entity objects are in-memory instances of entity classes (persistable user defined classes ... the database. An entity object becomes Managed when it is persisted to the database via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit
JPA Doc
35

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
FAQ
33

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as the primary
JPA Doc
33

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

Persistence()

Constructor javax.persistence.Persistence Persistence() Since: JPA 1.0
JPA Doc
32

Persistence.PERSISTENCE_PROVIDER

Static Field javax.persistence.Persistence String PERSISTENCE_PROVIDER Deprecated. This final String is deprecated and should be removed and is only here for TCK backward compatibility Since: JPA 1.0
JPA Doc
30

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 of entity instances in which for any persistent entity identity there is a unique entity instance
JPA Doc
29

javax.persistence.spi.PersistenceUnitInfo

javax.persistence.spi Interface PersistenceUnitInfo Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory. Since: JPA 1.0 ... are only transformed once within the same classloading scope, regardless of how many persistence units
Manual
29

Chapter 2 - JPA Entity Classes

Explains how to define and use JPA entity classes and other JPA persistable types.
Manual
29

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).