About tuple
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 ...
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 ...
javax.persistence.Tuple
Interface for extracting the elements of a query result tuple.(Interface of JPA)
tuple(selections)
Create a tuple-valued selection item.(Method of javax.persistence.criteria.CriteriaBuilder)
Weird issue with variable naming
hi, ... . Persistence ; import javax. persistence . Tuple ; import javax. persistence . criteria . ... ( ) ; final CriteriaQuery<Tuple> cq = cb. createQuery ( Tuple . class ) ...
createTupleQuery()
Create a CriteriaQuery object that returns a tuple of objects as its result.(Method of javax.persistence.criteria.CriteriaBuilder)
get(i, type)
Get the value of the element at the specified position in the result tuple.(Method of javax.persistence.Tuple)
get(alias, type)
Get the value of the tuple element to which the specified alias has been assigned.(Method of javax.persistence.Tuple)
get(tupleElement)
Get the value of the specified tuple element.(Method of javax.persistence.Tuple)
javax.persistence.criteria.CompoundSelection
The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor).(Interface of JPA)