Home » Search

About JPA

21-30 of 200Refresh
Manual
75

Working with JPA Entity Objects

Entity objects are in-memory instances of entity classes (persistable user defined classes), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA requires using entity objects for many operations, including storing, retrieving, updating and deleting
Manual
55

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes ... is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in ... to instantiate an EntityManagerFactory in JPA (as explained in the JPA Overview section) requires
Manual
54

JPA Criteria API Queries

The JPA Criteria API provides an alternative way for defining JPA queries, which is mainly useful for building dynamic queries whose exact structure is only known at runtime. JPA Criteria API vs JPQL JPQL queries are defined as strings, similarly to SQL. JPA criteria queries, on the other hand
Manual
53

JPA Entity Fields

either the Java transient modifier (which also affects serialization) or the JPA @Transient annotation ... and maps of entity types. Basic - for any other persistable type. In JPA only Basic is optional ... of these annotations, so they are useful only for classes that are also in use with an ORM JPA
Result
53

ObjectDB - Object Database for Java (JPA/JDO)

for developing Java database applications using the Java Persistence API (JPA). It is the first persistence solution that combined a powerful database with JPA support in one product, saving the need to integrate an external JPA ORM with a database. ObjectDB is an extremely easy to use pure Java Object
Manual
52

JPA Persistable Types

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes ... ; @Entity public class MyEntity { } Entity Class Requirements A portable JPA entity class ... Superclasses In JPA, classes that are declared as mapped superclasses have some of the features of entity
JPA Doc
51

JPA 2 Annotations

JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many
Manual
51

Setting and Tuning of JPA Queries

of other EntityManager instances). JPA implementations can easily make uncommitted changes visible in simple JPA operations, such as find. However, query execution is much more complex ... order to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum
JPA Doc
50

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields ... of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties ... : The JPA Metamodel API may optionally be used with the JPA Criteria API. Many of the interfaces in
Manual
50

Query Parameters in JPA

(:) followed by a valid JPQL identifier that serves as the parameter name. JPA does not provide an API ... . Criteria Query Parameters In a JPA query that is built by using the JPA Criteria API - parameters ... of which are overridden in TypedQuery. That large number of methods is not typical to JPA, which generally