ObjectDB Database Search

1-25 of 25 results

jakarta.persistence.TupleElement

Jakarta Persistence (JPA) Interface jakarta.persistence. TupleElement Type Parameters: - the type of the element The TupleElement interface defines an element that is returned in a query result tuple. See Also: Tuple Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods String getAlias

jakarta.persistence.Tuple.get(TupleElement)

Jakarta Persistence (JPA) Method in jakarta.persistence.Tuple X get (    TupleElement tupleElement ) Get the value of the specified tuple element. Parameters: tupleElement - tuple element Returns: value of tuple element. Throws: IllegalArgumentException - if tuple element does not

jakarta.persistence.TupleElement.getJavaType()

Jakarta Persistence (JPA) Method in jakarta.persistence. TupleElement Class getJavaType() Return the Java type of the tuple element. Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TupleElement.getAlias()

Jakarta Persistence (JPA) Method in jakarta.persistence. TupleElement String getAlias() Return the alias assigned to the tuple element or null, if no alias has been assigned. Returns: alias. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Tuple

the elements of a query result tuple. See Also: TupleElement Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods X get ( TupleElement tupleElement ) Get the value of the specified tuple element. Parameters: tupleElement - tuple element Returns: value of tuple element. Throws: IllegalArgumentException

jakarta.persistence.criteria.PluralJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The PluralJoin interface defines ... has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 Attribute ... TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 JoinType

jakarta.persistence.criteria.Path

referenced by the path Super Interfaces: Expression , Selection , TupleElement Represents a simple ... TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 List getCompoundSelectionItems () Return ... the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple

jakarta.persistence.criteria.Predicate

: Expression , Selection , TupleElement The type of a simple or compound predicate: a conjunction or ... , if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta Persistence ... element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta

jakarta.persistence.criteria.MapJoin

Interfaces: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 Attribute getAttribute ... ) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement

jakarta.persistence.criteria.ParameterExpression

, TupleElement Type of criteria query parameter expressions. Since: Jakarta Persistence (JPA) 2.0 Public ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 List ... getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns

jakarta.persistence.criteria.Selection

: - the type of the selection item Super Interfaces: TupleElement The Selection interface defines an item ... null, if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta ... ) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement

jakarta.persistence.criteria.Root

, TupleElement A root type in the from clause. Query roots always reference entities. Since: Jakarta ... or null, if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta ... TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 Set getJoins

jakarta.persistence.criteria.Subquery

, Selection , TupleElement The Subquery interface defines functionality that is specific to subqueries ... assigned to the tuple element or null, if no alias has been assigned. Inherited from TupleElement ... . Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA

jakarta.persistence.criteria.SetJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The SetJoin interface is the type ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 Attribute ... TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 JoinType

jakarta.persistence.criteria.CriteriaBuilder.Case

.persistence.criteria.CriteriaBuilder.Case Super Interfaces: Expression , Selection , TupleElement ... to the tuple element or null, if no alias has been assigned. Inherited from TupleElement Returns: alias ... of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element

jakarta.persistence.criteria.CriteriaBuilder.In

, TupleElement Interface used to build in predicates. Since: Jakarta Persistence (JPA) 1.0 Public Instance ... TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 List getCompoundSelectionItems ... the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

.persistence.criteria.CriteriaBuilder.Coalesce Super Interfaces: Expression , Selection , TupleElement ... to the tuple element or null, if no alias has been assigned. Inherited from TupleElement Returns: alias ... of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta

jakarta.persistence.criteria.CollectionJoin

: PluralJoin , Join , From , Path , FetchParent , Expression , Selection , TupleElement The CollectionJoin ... , if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta Persistence ... . Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta

jakarta.persistence.criteria.CompoundSelection

: - the type of the selection item Super Interfaces: Selection , TupleElement The CompoundSelection ... , if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta ... from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Expression

: - the type of the expression Super Interfaces: Selection , TupleElement Type for query expressions ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 List ... getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

.persistence.criteria.CriteriaBuilder.SimpleCase Super Interfaces: Expression , Selection , TupleElement ... to the tuple element or null, if no alias has been assigned. Inherited from TupleElement Returns ... Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns

jakarta.persistence.criteria.ListJoin

, From , Path , FetchParent , Expression , Selection , TupleElement The ListJoin interface is the type ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 Attribute ... TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 JoinType

jakarta.persistence.criteria.From

, TupleElement Represents a bound type, usually an entity that appears in the from clause ... TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 List getCompoundSelectionItems ... . Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence

jakarta.persistence.criteria.Join

, Expression , Selection , TupleElement A join to an entity, embeddable, or basic type. Since: Jakarta ... null, if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta ... . Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1

ClassCastException in Tuple.get

.get(1);   So it seems that Tuple.get chokes on Join, Root and probably other TupleElements ... to see it fixed, so Tuple.get would work with any TupleElement , be it Path, Join, Root, or ... . You can find it in attachment, and please note how all calls to Tuple.get( TupleElement ) fail