Home » Search

About API

1-10 of 200Refresh
FAQ
264

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

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 ... the criteria API is that errors can be detected earlier, during compilation rather than at runtime
Manual
249

SELECT clause (JPQL / Criteria API)

query API provides several ways for setting the SELECT clause. Single Selection Setting a single ... the SELECT clause content (overriding previously set SELECT content if any). Every valid criteria API expression can be used as selection, because all the criteria API expressions are represented by a sub
FAQ
246

What is the Java Persistence API (JPA)?

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
Manual
243

JPA Metamodel API

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
Manual
239

JPA Query API

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
Manual
234

ORDER BY clause (JPQL / Criteria API)

Country c ORDER BY c.currency, c.population DESC can be built using the criteria query API as
Manual
234

Paths and Types in JPQL and Criteria API

are represented in the JPA Criteria API by the Path interface and by its subinterfaces (From, Root
Manual
234

WHERE clause (JPQL / Criteria API)

query: SELECT c FROM Country c WHERE c.population > :p can be built by using the criteria query API
Manual
222

Comparison in JPQL and Criteria API

Explains how comparison operators can be used in JPQL queries, including in comparing null values.