Internal Website Search
141-150 of 153 resultsRefreshIN expression in a Criteria Query; Predicate predicate = value.in("a", "c", "e"); q.where(predicate); q.select(root);   | |
Query in JPA2 with LEFT JOIN on INNER JOIN(); selections[0]=actionDescriptionSelection; Predicate masterPredicate = cb.conjunction(); Predicate predicateOnPath = cb.equal(root.get(Action_.path).get(Path_.id), idPAth ... ; Predicate predicateOnProfile = cb.equal(actionJoinActionProfile.get(ActionProfile_.id), profiles | |
JPA CriteriaQuery -- Iterate Expression | |
IMK Stall with certain query; Root<OrderData> order = query.from(OrderData.class); Predicate p1 = cb.like(cb.lower(order.get("buyerId")), param); Predicate p2 = cb.like(cb.lower(order.get("buyerName")), param | |
CriteriaQuery .where() for multiple conditions); Predicate criteria = criteriaBuilder.and(criteriaBuilder.equal(root.get("name"), name | |
@ElementCollection query returning extra result per element in collection to my entities, but not so easy to add with the 'count' while re-using the same predicates. | |
multiple LEFT JOINs do not work as expected organisation.parentOrg.parentOrg is the root. The query also contains a number of other predicates | |
Searching lists within objects"); Predicate | |
JPA 2.0 Criteria API: (When) Fully supported ? which prevents correct negation of conjunction and disjunction predicates. * EclipseLink 2 | |
Problem using "and" for joined entities and indexed fields Using @Index for fields and filter more than one field with "and" predicate ends in empty result list. public class IndexTest { @Entity @Indices({ @Index |