Internal Website Search
1-7 of 7 resultsSELECT clause (JPQL / Criteria API) The Selection interface is also a super interface of CompoundSelection , which represents multi ... ). The CriteriaBuilder interface provides three factory methods for building CompoundSelection instances ... "), c. get ("capital"). get ("name"))); The array method builds a CompoundSelection instance | |
javax.persistence.criteria.CompoundSelection JPA Interface CompoundSelection Type Parameters: - the type of the selection item Super Interfaces: Selection , TupleElement The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor). Since: JPA 2.0 Public Methods Selection alias (String name | |
Criteria Query Selection and Results selection expressions can be represented by CompoundSelection , which is itself a subinterface | |
javax.persistence.criteria.CriteriaBuilder CompoundSelection array (Selection ... selections) Create an array-valued selection item. Parameters ... conjuncts is true. Return: and predicate Since: JPA 2.0 CompoundSelection construct (Class   ... to be trimmed x - expression for string to trim Return: trim expression Since: JPA 2.0 CompoundSelection | |
CriteriaBuilder.array(selections) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder CompoundSelection array ( Selection ... selections ) Create an array-valued selection item. Parameters: selections - selection items Return: array-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0 | |
CriteriaBuilder.tuple(selections) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder CompoundSelection tuple ( Selection ... selections ) Create a tuple-valued selection item. Parameters: selections - selection items Return: tuple-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0 | |
CriteriaBuilder.construct(resultClass,selections) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder CompoundSelection construct ( Class resultClass, Selection ... selections ) Create a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied |