About Criteria API

71-80 of 200Refresh
Forum
10

java.lang.NoClassDefFoundError: javax/persistence/criteria/AbstractQuery

Updating from 2.7.1_02 to 2.7.2_02 I now get this error, did something change? java.lang.NoClassDefFoundError: javax/persistence/criteria/AbstractQuery   Nothing was changed, this class ... went back to java 8, from java 9. am using gradle, without the separate jar, ie: without: javax.persistence:persistence-api:1.0.2     dmoshal
Result
10

ObjectDB - Object Database for Java (JPA/JDO) [2017-10-19]

for developing Java database applications using the Java Persistence API (JPA). It is the first persistence ... ... Protect your investment - use a standard Java API ObjectDB is the first Object Oriented Database with built in support for the two standard Java database APIs: Java Persistence API (JPA) Java Data
Result
10

ObjectDB - Object Database for Java (JPA/JDO)

API (JPA). It is the first persistence solution that combined a powerful database with JPA support ... your investment. Use a standard Java API. ObjectDB became the first Object Oriented Database with built in support for the two standard Java database APIs: Java Persistence API (JPA) Java Data Objects (JDO
JPA Doc
9

javax.persistence.TypedQuery

SELECT query or a Criteria API query Since: JPA 2.0 int getMaxResults() The maximum number of results ... a Criteria API query Since: JPA 2.0 TypedQuery setLockMode( LockModeType lockMode) Set the lock ... - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API
FAQ
9

Is ObjectDB better than competing object databases?

: ObjectDB is unique in supporting the standard APIs. It is the only object database with built in support for the Java Persistence API (JPA). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA
JPA Doc
8

javax.persistence.Query

a Criteria API query Since: JPA 2.0 int getMaxResults() The maximum number of results the query ... Persistence query language SELECT query or a Criteria API query Since: JPA 2.0 Query setMaxResults(int ... : IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria
JPA Doc
7

javax.persistence.EntityManager

. The EntityManager API is used to create and remove persistent entity instances, to find entities by their primary ... ( CriteriaQuery criteriaQuery) Create an instance of TypedQuery for executing a criteria query. Create an instance of TypedQuery for executing a criteria query. Parameters: criteriaQuery - a criteria query
Issue
6

No Entity Class API

and should not be bound to specific entity classes and persistent fields. Therefore, an API for accessing ... the Metamodel API to find details on the entity classes in a database. Obtain Class representation ... the classpath.  Use Java reflection API with information from the Metamodel API to access fields
Forum
6

Enhancement API - NullPointerException

Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1 ... , the class exists and trying the API with a non-existent class gives me the expected "is not found by
Issue
6

Enhancer API (JDO 3.0)

One of the new features of JDO 3 is a standard API for enhancement. Currently ObjectDB implements its own enhancement API.