About tuple

manual

SELECT clause (JPQL / Criteria API)

Explains how to use the SELECT clause and projections in a JPA/JPQL query.... interface defines a compound selection item (tuple, array, or result of constructor). See JavaDoc Reference Page... ... item. See JavaDoc Reference Page... , tuple tuple(selections) CriteriaBuilder's method Create a tuple-valued ...

 
api-jpa

Criteria Query Selection and Results

Reference (JavaDoc) of JPA query criteria result interfaces, including Selection, CompoundSelection, Order and Tuple.... clause) using tuples: javax.persistence.Tuple javax.persistence.TupleElement The Tuple javax.persistence.Tuple JPA interface Interface for ...

 
api-jpa

javax.persistence.Tuple

Interface for extracting the elements of a query result tuple.(Interface of JPA)

 
api-jpa

tuple(selections)

Create a tuple-valued selection item.(Method of javax.persistence.criteria.CriteriaBuilder)

 
issue

Weird issue with variable naming

hi, ... . Persistence ; import javax. persistence . Tuple ; import javax. persistence . criteria . ... ( ) ; final CriteriaQuery<Tuple> cq = cb. createQuery ( Tuple . class ) ...

 
api-jpa

createTupleQuery()

Create a CriteriaQuery object that returns a tuple of objects as its result.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

get(i, type)

Get the value of the element at the specified position in the result tuple.(Method of javax.persistence.Tuple)

 
api-jpa

get(alias, type)

Get the value of the tuple element to which the specified alias has been assigned.(Method of javax.persistence.Tuple)

 
api-jpa

get(tupleElement)

Get the value of the specified tuple element.(Method of javax.persistence.Tuple)

 
api-jpa

javax.persistence.criteria.CompoundSelection

The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor).(Interface of JPA)