ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.criteria.CriteriaBuilder.power(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression power (    Expression x ,    Number y ) Create an expression that returns the first argument raised to the power of its second argument. Parameters: x - base y - exponent Returns

jakarta.persistence.criteria.CriteriaBuilder.round(Expression,Integer)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression round (    Expression x ,    Integer n ) Create an expression that returns the first argument rounded to the number of decimal places given by the second argument. Parameters: x - base n

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when(Expression,R)

SimpleCase when (    Expression condition ,    R result ) Add a when/then clause to the case expression . Parameters: result - "then" result value condition - "when" condition Returns: simple case expression . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.like(Expression,String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate like (    Expression x ,    String pattern ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string Returns: like predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CollectionJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CollectionJoin CollectionJoin on (    Expression restriction ) Modify the join to restrict the result according ... . Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.AbstractQuery.having(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (    Expression restriction ) Specify a restriction over the groups of the query ... boolean expression Returns: the modified query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.SetJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Subquery.having(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery having (    Expression restriction ) Specify a restriction over the groups of the subquery. Replaces ... of the corresponding AbstractQuery method. Parameters: restriction - a simple or compound boolean expression Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.ListJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ... : restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Join.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Join on (    Expression restriction ) Modify the join to restrict the result according to the specified ON condition ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.MapJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ... - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.In.value(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.In In value (    Expression value ) Add to list of values to be tested against. Parameters: value - expression Returns: in predicate. Since: Jakarta Persistence (JPA) 1.0

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 ... . Parameters: elem - element collection - expression Returns: is-member predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.isEmpty(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isEmpty (    Expression collection ) Create a predicate that tests whether a collection is empty. Parameters: collection - expression Returns: is-empty predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.isNotEmpty(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate isNotEmpty (    Expression collection ) Create a predicate that tests whether a collection is not empty. Parameters: collection - expression Returns: is-not-empty predicate. Since: Jakarta Persistence (JPA) 1.0

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 ... will be true. Parameters: elem - element collection - expression Returns: is-not-member predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.between(Expression,Y,Y)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate between (    Expression v ,    Y x ,    Y y ) Create a predicate for testing ... y - value v - expression Returns: between predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.gt(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate gt (    Expression x ,    Number y ) Create a predicate for testing whether the first argument is greater than the second. Parameters: x - expression y - value Returns: greater-than predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.lessThan(Expression,Y)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lessThan (    Expression x ,    Y y ) Create a predicate for testing whether the first argument is less than the second. Parameters: x - expression y - value Returns: less-than predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo(Expression,Y)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lessThanOrEqualTo (    Expression x ,    Y y ) Create a predicate for testing whether the first argument is less than or equal to the second. Parameters: x - expression y - value Returns

jakarta.persistence.criteria.CriteriaBuilder.le(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate le (    Expression x ,    Number y ) Create a predicate for testing whether the first argument is less than or equal to the second. Parameters: x - expression y - value Returns

jakarta.persistence.criteria.CriteriaBuilder.ge(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate ge (    Expression x ,    Number y ) Create a predicate for testing whether the first argument is greater than or equal to the second. Parameters: x - expression y - value Returns

jakarta.persistence.criteria.CriteriaBuilder.lt(Expression,Number)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate lt (    Expression x ,    Number y ) Create a predicate for testing whether the first argument is less than the second. Parameters: x - expression y - value Returns: less-than predicate. Since: Jakarta Persistence (JPA) 1.0

FROM clause (JPQL / Criteria API)

(you can use type expression to exclude descendant classes from iteration). For example, in ... range variable that serves as a root and additional join variables that are bound to path expressions . Join variables can also be bound to path expressions that are based on other join variables

Collections in JPQL and Criteria Queries

is passed as an argument. As path expressions when navigating to a persistent collection field. IS [NOT ... are synonyms. Criteria query collection expressions The JPQL collection operators and functions are also available as JPA criteria query expressions . The CriteriaBuilder interface provides factory

jakarta.persistence.criteria.Subquery

: - the type of the selection item. Super Interfaces: AbstractQuery , Expression , CommonAbstractCriteria ... . A subquery has an expression as its selection item. Since: Jakarta Persistence (JPA) 2.0 Public ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

.persistence.criteria.CriteriaBuilder.SimpleCase Super Interfaces: Expression , Selection , TupleElement Interface used to build simple case expressions . Case conditions are evaluated in the order in ... : selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform

WHERE clause (JPQL / Criteria API)

expression in the WHERE clause, also known as the predicate, determines which objects to accept ... is small, which makes indexes even more essential. JPQL expressions in WHERE The previous queries ... JPQL expression syntax , which includes many operators (arithmetic, relational, and logical

jakarta.persistence.criteria.CriteriaBuilder.Case

.persistence.criteria.CriteriaBuilder.Case Super Interfaces: Expression , Selection , TupleElement Interface used to build general case expressions . Case conditions are evaluated in the order in ... : selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast

jakarta.persistence.criteria.MapJoin

Interfaces: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement ... Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast , this method does not cause type conversion: the runtime type is not changed

jakarta.persistence.criteria.ListJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The ListJoin interface is the type ... - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast

jakarta.persistence.criteria.Join

, Expression , Selection , TupleElement A join to an entity, embeddable, or basic type. Since: Jakarta ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike

jakarta.persistence.criteria.PluralJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The PluralJoin interface defines ... Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast , this method

jakarta.persistence.criteria.Path

referenced by the path Super Interfaces: Expression , Selection , TupleElement Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression ... (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new

jakarta.persistence.criteria.SetJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The SetJoin interface is the type ... Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast , this method

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

.persistence.criteria.CriteriaBuilder.Coalesce Super Interfaces: Expression , Selection , TupleElement Interface used to build coalesce expressions . A coalesce expression is equivalent to a case expression ... : selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast

jakarta.persistence.criteria.CollectionJoin

: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement The CollectionJoin ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike

jakarta.persistence.criteria.From

: - the source type - the target type Super Interfaces: Path , FetchParent , Expression , Selection ... . Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast , this method does not cause type

jakarta.persistence.criteria.Root

: - the entity type referenced by the root Super Interfaces: From , Path , FetchParent , Expression , Selection ... Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast , this method does not cause type conversion: the runtime type is not changed

jakarta.persistence.criteria.CriteriaBuilder.In

.persistence.criteria.CriteriaBuilder.In Super Interfaces: Predicate , Expression , Selection ... : name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression

jakarta.persistence.criteria.ParameterExpression

Parameters: - the type of the parameter expression Super Interfaces: Parameter , Expression , Selection , TupleElement Type of criteria query parameter expressions . Since: Jakarta Persistence (JPA) 2.0 Public ... Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object

jakarta.persistence.criteria.Predicate

: Expression , Selection , TupleElement The type of a simple or compound predicate: a conjunction or ... Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression , returning a new expression object. Unlike Expression .cast , this method does not cause type conversion

JPA Queries

for creating criteria queries and their elements (predicates, expressions , etc.). Obtain it from  ... clause, representing roots, joins, and fetches. General expressions used within query logic, such as predicates for the WHERE clause, mathematical operations, and conditional logic. Helper interfaces for manipulating temporal expressions and date/time components.

jakarta.persistence.criteria.CriteriaQuery

getGroupList () Return a list of the grouping expressions . Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query. Inherited from AbstractQuery Returns: the list of grouping expressions . Since: Jakarta Persistence (JPA) 1.0 Predicate

JPA Container Injection Annotations

using the following annotations: Expresses a dependency on a container-managed EntityManager , injecting ... . EntityManagerFactory injection Inject an EntityManagerFactory using these annotations: Expresses

Query Parameters in JPA

the call to getSingleResult in the same expression . Named parameters in a query string are identifiable by ... and then embedded in the query string as-is. A malicious user could provide JPQL expressions instead

Eclipse Public License - v 1.0

disclaims on behalf of all Contributors all warranties and conditions, express and implied, including ... , THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR

jakarta.persistence.criteria.AbstractQuery

(JPA) 1.0 List getGroupList () Return a list of the grouping expressions . Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query. Returns: the list of grouping expressions . Since: Jakarta Persistence (JPA) 1.0 Predicate

Apache License, Version 2.0, January 2004

CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or

[ODB1] Chapter 6 - Persistent Objects

, sophisticated queries. The results can also be sorted by specified order expressions . Chapter 7 is devoted ... . Therefore, a persistent object obj is locked only when the following expression evaluates to true