Home » Search

About Criteria API

111-120 of 200Refresh
Issue
2

JPA Metamodel (JPA 2.0)

The JPA Metamodel API enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The JPA Metamodel API has a major role in defining queries using the JPA Criteria API. Implementation of the JPA Metamodel API was just added to ObjectDB
Forum
2

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date ... also that doing greaterEqual or lessEqual with Criteria API will yield in correct results ... . After further investigation of this issue, it seems that criteria queries work well with literal dates
Forum
2

CriteriaQuery using isNotNull with other conditions results in InternalException

When I try to execute the following criteria query CriteriaBuilder builder = em.getCriteriaBuilder(); CriteriaQuery criteria = builder.createQuery(relationshipClass); Root root = criteria.from(relationshipClass); criteria.select(root); List
Forum
2

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb ... , it still happens with criteria api and it is easy to replicate. I've created a ticket for it http ... .*; import javax.persistence.*; import javax.persistence.criteria.*; @Entity public class T598
Issue
2

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls ... /fitbird/control/p2/WorkoutPlanC.java) at com.fitbird.boundary.api.util.PlanAccessVerifier.
Result
1

ObjectDB version 2.2.0

Version 2.2.0 Added full support of JPA 2 Criteria Queries API (issue #10) Added full support of JPA 2 Metamodel API (issue #9) Added non optional field validation (throwing an exception on null value). Improved ObjectDB Doctor to handle additional issues. Improved query execution planner. Improved
Forum
1

migration path from JPA / Hibernate

criteria query API is now fully supported (relevant documentation will be released in a few days). If your application uses old Hibernate API / extensions (e.g. Session instead of EntityManager, queries
Forum
1

ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: Added full support of JPA 2 Criteria Queries API (issue #10) Added full support of JPA 2 Metamodel API (issue #9) Added non optional field validation (throwing an exception on null value). Improved ObjectDB Doctor
Issue
1

Issue with DISTINCT Select

are used for both: Explicit variables in criteria queries. Implicit variables that are generated as a result of path navigation (e.g. x.a.b). Only explicit variables are shown in toString of a criteria ... .IndividualContact $1 LEFT JOIN $1.profile $2 WHERE ((TYPE($1)=class com.quasado.foundation.contact.api.model
Forum
1

Optimization of Map Queries

criteria api? We do have heavy usage of maps so I'd appreciate any optimization.. (though I guess, in ... expression is an ObjectDB extension, so it might not be available in criteria queries. Maps