About Criteria API

61-70 of 200Refresh
JPA Doc
15

javax.persistence.criteria.CriteriaBuilder.Case

javax.persistence.criteria Interface CriteriaBuilder.Case Superinterfaces: Expression, Selection, TupleElement Interface used to build general case expressions. Case conditions are evaluated in the order in which they are specified. Since: JPA 2.0 Selection alias(String name) Assigns
JPA Doc
15

javax.persistence.criteria.CriteriaBuilder.Coalesce

javax.persistence.criteria Interface CriteriaBuilder.Coalesce Superinterfaces: Expression, Selection, TupleElement Interface used to build coalesce expressions. A coalesce expression is equivalent to a case expression that returns null if all its arguments evaluate to null
JPA Doc
15

javax.persistence.criteria.CriteriaBuilder.In

javax.persistence.criteria Interface CriteriaBuilder.In Superinterfaces: Expression, Predicate, Selection, TupleElement Interface used to build in predicates. Since: JPA 2.0 Selection alias(String name) Assigns an alias to the selection item. Assigns an alias
JPA Doc
15

javax.persistence.criteria.CriteriaBuilder.SimpleCase

javax.persistence.criteria Interface CriteriaBuilder.SimpleCase Superinterfaces: Expression, Selection, TupleElement Interface used to build simple case expressions. Case conditions are evaluated in the order in which they are specified. Since: JPA 2.0 Selection alias(String name
JPA Doc
15

javax.persistence.criteria.Fetch

javax.persistence.criteria Interface Fetch Superinterfaces: FetchParent Represents a join-fetched association or attribute. Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified
JPA Doc
15

javax.persistence.criteria.FetchParent

javax.persistence.criteria Interface FetchParent Subinterfaces: CollectionJoin, Fetch, From, Join, ListJoin, MapJoin, PluralJoin, Root, SetJoin Represents an element of the from clause which may function as the parent of Fetches. Since: JPA 2.0 Fetch fetch(String attributeName) Create
JPA Doc
15

javax.persistence.criteria.Subquery

javax.persistence.criteria Interface Subquery Superinterfaces: AbstractQuery, Expression, Selection, TupleElement The Subquery interface defines functionality that is specific to subqueries. A subquery has an expression as its selection item. Since: JPA 2.0 Selection alias(String
Issue
14

ArrayIndexOutOfBounds with Critera API and function call

to our customer and went against a show-stopper again. We're building a simple query with the criteria api ... () { return 100; } }; Create Selection Query (Critera-API) from * TestEntity and add WHERE class ... the criteria we get this: 11:20:06,538 ERROR .. Servlet.service() for servlet .. threw exception
Forum
12

IN expression in a Criteria Query

is with Criteria Language. This code: In inExpression = cb.in(root.get(Computer ... is one of them. Regarding the criteria query, it is unclear where exactly the exception is thrown ... (HND.java:132) at java.lang.Thread.run(Unknown Source) Regarding the criteria query issue
Forum
12

Criteria Query results in a NoResultException instead of returning object

(); CriteriaQuery criteria = builder.createQuery(identityClass); Root root = criteria.from(identityClass); criteria.select(root); List predicates = new ArrayListcriteria.where(predicates.toArray(new Predicate[predicates.size()])); return em.createQuery