Internal Website Search

191-200 of 200 resultsRefresh

Retrieving JPA Entity Objects

this automatic cascaded retrieval by using a lazy fetch type:

JPA Queries

that enables building a dynamic query by using instances of special types, representing query elements

JPA Named Queries

receives a query name and a result type and returns a

WHERE clause (JPQL / Criteria API)

/criteria/Predicate">Predicate type and uses an AND conjunction as the WHERE clause

Defining a JPA Entity Class

types can be used for persistent fields, how to define and use a primary key and what a version field

CRUD Database Operations with JPA

, which was introduced in JPA 2, is a type safe subinterface of Query

Step 3: Create an ObjectDB Data Source

the list of available data source types. Enter data source name (e.g. ObjectDB

Step 2: Entity Class and Persistence Unit

.xsd"> <persistence-unit name="GuestbookPU" transaction-type="RESOURCE_LOCAL"> <

Step 2: Entity Class and Persistence Unit

-type="RESOURCE_LOCAL"> <provider>com.objectdb.jpa.Provider</provider> <

JDO Annotations for Fields

The way a field of a persistable class is managed by JDO can be set by the following annotations and enum types: