Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.
Internal Website Search1-10 of 200 resultsRefresh
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 ... of using the criteria API is that errors can be detected earlier, during compilation
The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The main interface of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties
The criteria query API provides several ways for setting the SELECT clause. Single Selection Setting ... API expression can be used as selection, because all the criteria API expressions are represented by ... .name, c.capital.name FROM Country c can be defined using the criteria API as follows
The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases ... Persistence API (JPA). By interacting with ObjectDB using standard JPA you can keep your application
The JPA Metamodel API provides the ability to examine the persistent object model and retrieve ... Metamodel API is Metamodel. It can be obtained either by the EntityManagerFactory's getMetamodel method or ... . Type Interface Hierarchy Types are represented in the Metamodel API by descendant interfaces
because it introduces the Country class to ObjectDB. Dynamic JPQL, Criteria API and Named Queries ... at runtime. The JPA Criteria API provides an alternative way for building dynamic queries, based
The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API: See the Metamodel Attribute Interface Hierarchy section for more details and examples.
The following interfaces and enum represent types in the JPA Metamodel API: See the Metamodel Type Interface Hierarchy section for more details and examples.
.population > :p can be built by using the criteria query API as follows: CriteriaQuery<Country> q = cb
You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API ... API, and if necessary, switch to JDO as a secondary API for special additional features that are supported only by JDO. Selecting the more popular API leads to more portable application and extends