ObjectDB Database Search

1-50 of 106 results

jakarta.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.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.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.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

jakarta.persistence.criteria.Predicate.BooleanOperator.OR

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria. Predicate .BooleanOperator OR Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Predicate.BooleanOperator.BooleanOperator()

Jakarta Persistence (JPA) Constructor in jakarta.persistence.criteria. Predicate .BooleanOperator BooleanOperator() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Predicate.BooleanOperator.AND

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria. Predicate .BooleanOperator AND Since: Jakarta Persistence (JPA) 1.0

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.ListJoin

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 to the argument

jakarta.persistence.criteria.Join

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.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

jakarta.persistence.criteria.Expression

(JPA) 3.2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression is equal to the argument. Parameters: value - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Object value ) Create

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

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 to the argument

jakarta.persistence.criteria.From

) 3.2 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. Inherited from

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.

jakarta.persistence.criteria.AbstractQuery

: the list of grouping expressions. Since: Jakarta Persistence (JPA) 1.0 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

jakarta.persistence.criteria.CriteriaQuery

AbstractQuery Returns: the list of grouping expressions. Since: Jakarta Persistence (JPA) 1.0 Predicate getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items ... predicate . Since: Jakarta Persistence (JPA) 1.0 List getOrderList () Return the ordering

jakarta.persistence.criteria.CriteriaUpdate

: the query parameters. Since: Jakarta Persistence (JPA) 1.0 Predicate getRestriction () Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified. Inherited from CommonAbstractCriteria Returns: where clause predicate . Since: Jakarta

jakarta.persistence.criteria.CriteriaDelete

. Since: Jakarta Persistence (JPA) 1.0 Predicate getRestriction () Return the predicate that corresponds ... CommonAbstractCriteria Returns: where clause predicate . Since: Jakarta Persistence (JPA) 1.0 Root getRoot ... delete query. Since: Jakarta Persistence (JPA) 1.0 CriteriaDelete where ( Predicate ... restrictions

jakarta.persistence.criteria.CommonAbstractCriteria

: the query parameters. Since: Jakarta Persistence (JPA) 1.0 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 Subquery subquery ( Class

jakarta.persistence.criteria.CriteriaBuilder.isMember(Expression,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isMember (    Expression elem ,    Expression collection ) Create a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate

jakarta.persistence.criteria.CriteriaBuilder.isMember(E,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isMember (    E elem ,    Expression collection ) Create a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false

jakarta.persistence.criteria.CriteriaBuilder.isNotMember(Expression,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isNotMember (    Expression elem ,    Expression collection ) Create a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate

jakarta.persistence.criteria.CriteriaBuilder.isNotMember(E,Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isNotMember (    E elem ,    Expression collection ) Create a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate