Home » Search

About Criteria API

71-80 of 200Refresh
Forum
12

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
12

ObjectDB - Object Database for Java (JPA/JDO)

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
FAQ
11

Where can I learn how to use ObjectDB?

All about Where can I learn how to use ObjectDB? in Java/JPA database - explanations, examples, references, links and related information.
JPA Doc
10

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
JPA Doc
9

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
8

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
7

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
7

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
7

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.
Forum
7

Is there an API to get the current version of ObjectDB that's being used?

Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by