Home » Search

About Persistence Context

41-50 of 200Refresh
FAQ
13

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
13

Persistence()

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

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
12

Chapter 2 - JPA Entity Classes

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

CRUD Operations with JPA

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

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.
Manual
12

DELETE Queries in JPA/JPQL

. For example, the EntityManager may not be aware that a cached entity object in its persistence context has been removed from the database by a DELETE query. Therefore, it is a good practice to use
Manual
12

UPDATE SET Queries in JPA/JPQL

its persistence context has been modified by an UPDATE query. Therefore, it is a good practice to use
JPA Doc
12

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

javax.persistence.spi.PersistenceProvider

javax.persistence.spi Interface PersistenceProvider Interface implemented by the persistence provider. It is invoked by the container in Java EE environments and by the javax.persistence.Persistence class in Java SE environments to create an javax.persistence.EntityManagerFactory. Since: JPA 1.0