Home » Search

About persist

11-20 of 200 Refresh
Manual
47

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

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
39

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

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

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
37

Persistence()

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

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

Chapter 2 - JPA Entity Classes

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

CRUD Operations with JPA

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

Where can I learn how to use ObjectDB?

All about Where can I learn how to use ObjectDB? in Java/JPA database - explanations, examples, references, links and related information.