Internal Website Search

1-10 of 200 resultsRefresh

JPA Criteria API Queries

The JPA Criteria API provides an alternative way for defining JPA queries ... > JPA Criteria API vs JPQL JPQL queries are defined as ... of Java objects that represent query elements. A major advantage of using the criteria API

SELECT clause (JPQL / Criteria API)

="/api/java/jpa/EntityManager">EntityManager em: api/java/jpa/TypedQuery">TypedQuery<Country> query = em.api/java/jpa ... ); List<Country> results = query.api/java/jpa/TypedQuery/getResultList">getResultList

JPA Metamodel API

The JPA Metamodel API provides the ability to examine the persistent object model ... > The Metamodel Interface The main interface of the JPA Metamodel API is api ... ="/api/java/jpa/EntityManagerFactory">EntityManagerFactory's api/java/jpa

Comparison in JPQL and Criteria API

criteria query expressions. The api/java/jpa/criteria/CriteriaBuilder">CriteriaBuilder ... : api/java/jpa/criteria/Expression">Expression<String> name = country.api/java/jpa/criteria/Path/get_String">get("name"); api/java/jpa/criteria/Expression

FROM clause (JPQL / Criteria API)

/jpa/entity/types#entity_classes">another name explicitly in the api/java/jpa/Entity">@Entity's api/java/jpa/Entity/name">name annotation element. api/java/jpa

WHERE clause (JPQL / Criteria API)

>The api/java/jpa/criteria/CriteriaQuery">CriteriaQuery interface provides ... >The first api/java/jpa/criteria/CriteriaQuery/where_Expression_">where method takes one api/java/jpa/criteria/Expression">Expression<Boolean>

Logical Operators in JPQL and Criteria API

> Boolean expressions are represented in criteria queries by api/java/jpa ... path (a field or a property) is represented by api/java/jpa/criteria/Path">Path<Boolean>: api/java/jpa/criteria/Path">Path

Paths and Types in JPQL and Criteria API

are represented in the JPA Criteria API by the api/java/jpa/criteria/Path">Path interface and by its subinterfaces (api/java/jpa/criteria/From">From, api/java/jpa/criteria/Root">Root, api/java/jpa

ORDER BY clause (JPQL / Criteria API)

in Criteria Queries The api/java/jpa/criteria/CriteriaQuery">API as follows: api/java/jpa/criteria/CriteriaQuery">CriteriaQuery<Country> q = cb.api/java/jpa/criteria/CriteriaBuilder

[ODB1] Chapter 4 - JDO Metadata

A JDO metadata file is an XML file with a '.jdo' suffix, containing information ... a metadata file. The metadata is used first by the JDO Enhancer, and later by the JDO system. Therefore, at deployment, .jdo metadata files must be packaged with an application's .class files