ObjectDB Database Search
1-50 of 61 resultsjakarta.persistence.criteria.Predicate Jakarta Persistence (JPA) Interface jakarta.persistence.criteria. Predicate Super Interfaces: Expression , Selection , TupleElement The type of a simple or compound predicate : a conjunction or disjunction of restrictions. A simple predicate is considered to be a conjunction with a single conjunct | |
jakarta.persistence.criteria.Predicate.BooleanOperator Jakarta Persistence (JPA) Enum in jakarta.persistence.criteria. Predicate jakarta.persistence.criteria. Predicate .BooleanOperator java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.criteria. Predicate .BooleanOperator Implemented Interfaces: Constable , Comparable , Serializable Since: Jakarta | |
Logical Operators in JPQL and Criteria API for NOT . Criteria query logical operators Boolean expressions and predicates In criteria queries ... "); Path isInEU = country. get ("isInEU"); Path isInOECD = country. get ("isInOECD"); The Predicate ... comparison operators: Predicate isLarge = cb. gt (country. get ("area"), 1000000); AND / OR | |
jakarta.persistence.criteria.CriteriaBuilder criteria queries, compound selections, expressions, predicates , orderings. Note that Predicate ... . Since: Jakarta Persistence (JPA) 1.0 Predicate and ( Expression x , Expression y ) Create a conjunction ... : and predicate . Since: Jakarta Persistence (JPA) 1.0 Predicate and ( Predicate ... restrictions | |
jakarta.persistence.criteria.Predicate.isNegated() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate boolean isNegated() Whether the predicate has been created from another predicate by applying Predicate .not or by calling CriteriaBuilder.not . Returns: boolean indicating if the predicate is a negated predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Predicate.getOperator() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate BooleanOperator getOperator() Return the boolean operator for the predicate . If the predicate is simple, this is AND . Returns: boolean operator for the predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Predicate.getExpressions() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate List getExpressions() Return the top-level conjuncts or disjuncts of the predicate . Returns empty list if there are no top-level conjuncts or disjuncts of the predicate . Modifications to the list do not affect the query | |
jakarta.persistence.criteria.Predicate.not() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Predicate Predicate not() Create a negation of the predicate . Returns: negated predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.AbstractQuery.having(Predicate...) having ( Predicate ... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates . Replaces the previously having added ... are simply removed. Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.where(Predicate...); Predicate ... restrictions ) Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates . Replaces the previously added restriction(s), if any ... - zero or more restriction predicates Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.AbstractQuery.where(Predicate...) where ( Predicate ... restrictions ) Modify the query to restrict the query results according to the conjunction of the specified restriction predicates . Replaces the previously added ... removed. Parameters: restrictions - zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.having(Predicate...); Predicate ... restrictions ) Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates . Replaces the previously added having ... : restrictions - zero or more restriction predicates Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CollectionJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according ... . Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.SetJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.Join.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Join on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.MapJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.ListJoin.on(Predicate...) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListJoin on ( Predicate ... restrictions ) Modify the join to restrict the result according to the specified ... : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
WHERE clause (JPQL / Criteria API) expression in the WHERE clause, also known as the predicate , determines which objects to accept. Only Country objects for which the predicate evaluates to TRUE are passed to the SELECT clause and collected as query results. WHERE predicate and indexes Formally, the WHERE clause functions as a filter | |
Collections in JPQL and Criteria Queries] EMPTY Predicate e1 = cb. isEmpty (languages); Predicate e2 = cb. isNotEmpty (languages); // element [NOT] MEMBER OF collection Predicate m1 = cb. isMember (param, languages); Predicate m2 = cb. isMember ("English", languages); Predicate m3 = cb. isNotMember (param, languages); Predicate m4 = cb | |
jakarta.persistence.criteria.CriteriaBuilder.In.persistence.criteria.CriteriaBuilder.In Super Interfaces: Predicate , Expression , Selection , TupleElement Interface used to build in predicates . Since: Jakarta Persistence (JPA) 1.0 Public Instance ... type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate | |
JPA Criteria Query Expressions interface for expressions ├─ Predicate # Boolean expression (WHERE/HAVING) │ └─ CriteriaBuilder.In # IN predicate ├─ Path # Navigation path (attributes) ├─ ParameterExpression # Query parameter ... predicates . A navigation path to an attribute value or a referenced entity. A type-safe representation | |
Strings in JPQL and Criteria Queries. parameter (String.class); // str [NOT] LIKE pattern Predicate l1 = cb. like (path, param); Predicate l2 = cb. like (path, "a%"); Predicate l3 = cb. notLike (path, param); Predicate l4 = cb. notLike | |
jakarta.persistence.criteria.Subquery whether they must be retained Returns: the modified subquery.. Since: Jakarta Persistence (JPA) 1.0 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing | |
jakarta.persistence.criteria.PluralJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal | |
jakarta.persistence.criteria.MapJoin Persistence (JPA) 1.0 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.SetJoin Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.CollectionJoin type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta | |
jakarta.persistence.criteria.Path expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing | |
jakarta.persistence.criteria.ParameterExpression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality | |
jakarta.persistence.criteria.Root of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Inherited from Expression Parameters: value - expression to be tested against Returns: predicate testing for equality | |
jakarta.persistence.criteria.CriteriaBuilder.Case Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression is equal to the argument | |
JPA Queries for creating criteria queries and their elements ( predicates , expressions, etc.). Obtain it from  ... predicates for the WHERE clause, mathematical operations, and conditional logic. Helper interfaces for manipulating temporal expressions and date/time components. | |
Problem witch CriteriaBuilder isMember(..) cb = ... Root root = ... Testclass searchobject = new Testclass(1,2); Predicate predicate = cb ... "; Predicate predicate = cb.isMember(searchobject,root. get("testlist2")); works as expected. the equal-query Testclass searchobject = new Testclass(1,2); Predicate predicate = cb.equal(a_root | |
jakarta.persistence.criteria.AbstractQuery.getGroupRestriction() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Predicate getGroupRestriction() Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified. Returns: having clause predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CommonAbstractCriteria.getRestriction() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CommonAbstractCriteria Predicate getRestriction() Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified. Returns: where clause predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Join.getOn() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Predicate getOn() Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition has been specified. Returns: the ON restriction predicate . Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,Expression,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike ... ) Create a predicate for testing whether the expression does not satisfy the given pattern ... Returns: not-like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,Expression,char) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike ... ) Create a predicate for testing whether the expression does not satisfy the given pattern. Parameters: x - string expression pattern - string expression escapeChar - escape character Returns: not-like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,String,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike ... ) Create a predicate for testing whether the expression does not satisfy the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character expression Returns: not-like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,String,char) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike ... a predicate for testing whether the expression does not satisfy the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character Returns: not-like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.like(Expression,String,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like ... ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character expression Returns: like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.like(Expression,String,char) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like ... a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character Returns: like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike ( Expression x , Expression pattern ) Create a predicate for testing ... - string expression Returns: not-like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.notLike(Expression,String) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate notLike ( Expression x , String pattern ) Create a predicate for testing ... - string Returns: not-like predicate . Since: Jakarta Persistence (JPA) 1.0 | |
java.sql.Date equals comparison not working with CriteriaAPI = ...; Root root = ...; java.sql.Date myDate = ...; Predicate predicate = builder.equal(root ... of the created predicate yields in something like: $1.eintritt=2013-11-01 whereas as seen in my manual query ... ; Predicate predicate = cb.equal(root.get("date"), cb.literal(myDate | |
jakarta.persistence.criteria.AbstractQuery.having(List) the conjunction of the specified restriction predicates . Replaces the previously added having ... removed. Parameters: restrictions - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.Subquery.where(List) of the specified restriction predicates . Replaces the previously added restriction(s), if any ... - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.AbstractQuery.where(List) to the conjunction of the specified restriction predicates . Replaces the previously added restriction(s ... . Parameters: restrictions - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.Subquery.having(List) the conjunction of the specified restriction predicates . Replaces the previously added having restriction(s ... : restrictions - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3.2 |