Internal Website Search
61-70 of 200 resultsRefreshIN expression in a Criteria Query problem is with Criteria Language. This code: In<Employee> ... system, and unfortunately subqueries is one of them. Regarding the criteria query ... the criteria query issue, please provide the complete query string (you should be able to see it in the log | |
Criteria Query results in a NoResultException instead of returning object; CriteriaBuilder builder = em.getCriteriaBuilder(); CriteriaQuery criteria = builder.createQuery(identityClass); Root root = criteria.from(identityClass); criteria.select(root ... .getName())); criteria.where(predicates.toArray(new Predicate[predicates | |
Multi selection and distinct in a criteria query hi, How can I realize multi selection with the criteria api concerning ... ="/api/java/jpa/criteria/CriteriaQuery">CriteriaQuery. wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder | |
Threading Problem (maybe with Criteria)>instead of Criteria API CriteriaBuilder cbuilder = manager ... >After creating some testobjects (i.e. 100000) the test opens the Database, start some queries with criteria ... .getAttribute(ManagedTypeImpl.java:199) at com.objectdb.jpa.criteria.PathImpl.get(PathImpl.java:114 | |
Strange Error with Criteria API and Sorting> However, running this with the criteria API produces this error: When watching the created criteria in debugger we get the correct expression: criteria | |
Issue with TYPE expression in Criteria API java.util.*; import javax.persistence.*; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; public | |
criteria api / embedded objects / where ordercriteria api / embedded objects / where order | |
Query Parameters in JPA provide an API for defining the parameters explicitly (except when using criteria API), so query ... >In a JPA query that is built by using the criteria">JPA Criteria API ... /criteria/ParameterExpression">ParameterExpression or its super interface api | |
ArrayIndexOutOfBounds with Critera API and function call query with the criteria api. What we have is something like (pseudo code) API) from * TestEntity and add WHERE class with CriteraBuilder.function("$1.getAge", Integer ... produce the same error When trying to create a query from the criteria we get this: | |
ObjectDB Object Database Features definition, including using criteria">JPA Criteria Query API.api/java/jpa">JPA and api/java/jdo">JDO APIs. Fundamental features of relational databases (e.g. primary keys, derived attributes |