ObjectDB Database Search
1-50 of 54 resultsjakarta.persistence.Tuple Jakarta Persistence (JPA) Interface jakarta.persistence. Tuple Interface for extracting 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 | |
jakarta.persistence.Tuple.get(int,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Tuple X get ( int i , Class type ) Get the value of the element at the specified position in the result tuple . The first position is 0. Parameters: i - position in result tuple type - type of the tuple element | |
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.Tuple.get(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Tuple X get ( String alias , Class type ) Get the value of the tuple element to which the specified alias has been assigned. Parameters: alias - alias assigned to tuple element type - of the tuple element Returns | |
jakarta.persistence.Tuple.get(String) Jakarta Persistence (JPA) Method in jakarta.persistence. Tuple Object get ( String alias ) Get the value of the tuple element to which the specified alias has been assigned. Parameters: alias - alias assigned to tuple element Returns: value of the tuple element. Throws | |
jakarta.persistence.Tuple.get(int) Jakarta Persistence (JPA) Method in jakarta.persistence. Tuple Object get ( int i ) Get the value of the element at the specified position in the result tuple . The first position is 0. Parameters: i - position in result tuple Returns: value of the tuple element. Throws | |
jakarta.persistence.criteria.CriteriaBuilder.tuple(Selection...) tuple ( Selection ... selections ) Create a tuple -valued selection item. Parameters: selections - selection items Returns: tuple -valued compound selection. Throws: IllegalArgumentException - if an argument is a tuple - or array-valued selection item. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.tuple(List) tuple ( List selections ) Create a tuple -valued selection item. Parameters: selections - list of selection items Returns: tuple -valued compound selection. Throws: IllegalArgumentException - if an argument is a tuple - or array-valued selection item. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Tuple.toArray() Jakarta Persistence (JPA) Method in jakarta.persistence. Tuple Object[] toArray() Return the values of the result tuple elements as an array. Returns: tuple element values. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Tuple.getElements() Jakarta Persistence (JPA) Method in jakarta.persistence. Tuple List getElements() Return the tuple elements. Returns: tuple elements. Since: Jakarta Persistence (JPA) 1.0 | |
SELECT clause (JPQL / Criteria API) , tuple , and construct . CriteriaBuilder.array The following JPQL query: SELECT c.name, c.capital ... ) { System.out.println( "Country: " + result[0] + ", Capital: " + result[1]); } CriteriaBuilder. tuple The Tuple interface can be used as a clean alternative to Object[] : CriteriaQuery q = cb | |
WHERE clause (JPQL / Criteria API)-variable queries In a multi-variable query, the FROM clause defines an iteration over tuples . In this case, the WHERE clause filters these tuples before passing them to the SELECT clause. For example ... . In multi-variable queries, the number of tuples for iteration can be very large even if the database | |
jakarta.persistence.criteria.CriteriaBuilder. Throws: IllegalArgumentException - if an argument is a tuple - or array-valued selection item ... selection. Throws: IllegalArgumentException - if an argument is a tuple - or array-valued selection item ... Returns: compound selection item. Throws: IllegalArgumentException - if an argument is a tuple - or | |
JPA Query Structure (JPQL / Criteria) ( select , distinct , multiselect , array , tuple , construct ) Criteria FROM ( from , join , fetch | |
jakarta.persistence.criteria.CriteriaQuery is Tuple . Otherwise, the result type is Object . Inherited from AbstractQuery Returns: result type ... method. An argument to the multiselect method must not be a tuple - or array-valued compound selection ... (i.e., a criteria query object created by either the createTupleQuery method or by passing a Tuple | |
jakarta.persistence.TupleElement 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 () Return the alias assigned to the tuple element or null, if no alias has been assigned. Returns: alias | |
jakarta.persistence.criteria.Subquery assigned to the tuple element or null, if no alias has been assigned. Inherited from TupleElement ... . Since: Jakarta Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA | |
jakarta.persistence.criteria.CompoundSelection interface defines a compound selection item (a tuple , array, or result of a constructor ... . Since: Jakarta Persistence (JPA) 1.0 String getAlias () Return the alias assigned to the tuple element or null ... . Since: Jakarta Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited | |
jakarta.persistence.criteria.PluralJoin String getAlias () Return the alias assigned to the tuple element or null, if no alias ... Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 JoinType | |
jakarta.persistence.criteria.Path the alias assigned to the tuple element or null, if no alias has been assigned. Inherited from ... the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple | |
jakarta.persistence.criteria.Predicate Persistence (JPA) 3.2 String getAlias () Return the alias assigned to the tuple element or null ... the predicate. Since: Jakarta Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta | |
jakarta.persistence.criteria.MapJoin String getAlias () Return the alias assigned to the tuple element or null, if no alias ... Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 JoinType | |
jakarta.persistence.criteria.ParameterExpression getAlias () Return the alias assigned to the tuple element or null, if no alias has been assigned ... getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 String getName () Return | |
jakarta.persistence.criteria.Selection. Since: Jakarta Persistence (JPA) 1.0 String getAlias () Return the alias assigned to the tuple element or ... ) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 boolean | |
jakarta.persistence.criteria.Root. Since: Jakarta Persistence (JPA) 1.0 String getAlias () Return the alias assigned to the tuple element ... (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 Set getJoins | |
jakarta.persistence.criteria.SetJoin String getAlias () Return the alias assigned to the tuple element or null, if no alias ... Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.Case 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.CriteriaBuilder.In the alias assigned to the tuple element or null, if no alias has been assigned. Inherited from ... the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce 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. Since: Jakarta Persistence (JPA) 1.0 String getAlias () Return the alias assigned to the tuple element or ... of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta | |
jakarta.persistence.criteria.Expression getAlias () Return the alias assigned to the tuple element or null, if no alias has been assigned ... getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 Predicate in ( Object... values | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase 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: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 Predicate in ( Object | |
jakarta.persistence.criteria.ListJoin) 1.0 String getAlias () Return the alias assigned to the tuple element or null, if no alias ... Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.From () Return the alias assigned to the tuple element or null, if no alias has been assigned. Inherited from ... . Since: Jakarta Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence | |
jakarta.persistence.criteria.Join. Since: Jakarta Persistence (JPA) 1.0 String getAlias () Return the alias assigned to the tuple element or ... . Since: Jakarta Persistence (JPA) 1.0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement Returns: the Java type of the tuple element. Since: Jakarta Persistence (JPA) 1 | |
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.criteria.AbstractQuery is returned. If the query was created using the createTupleQuery method, the result type is Tuple | |
jakarta.persistence.criteria.AbstractQuery.getResultType() the createTupleQuery method, the result type is Tuple . Otherwise, the result type is Object . Returns: result type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.array(Selection...): IllegalArgumentException - if an argument is a tuple - or array-valued selection item. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.array(List): IllegalArgumentException - if an argument is a tuple - or array-valued selection item. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.CriteriaBuilder.createTupleQuery() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaQuery createTupleQuery() Create a CriteriaQuery object that returns a tuple of objects as its result. Returns: criteria query object. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.construct(Class,Selection...) item. Throws: IllegalArgumentException - if an argument is a tuple - or array-valued selection item. 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 | |
Entity is not related to ObjectDB, but i get exception from ObjectDB: Could not instantiate entity: granat.dp.domain.entity.psql.DialogNew at org.hibernate. tuple ... ] at org.hibernate. tuple .PojoInstantiator.instantiate(PojoInstantiator.java:136) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate. tuple .entity.AbstractEntityTuplizer.instantiate | |
Multi selection and distinct in a criteria query selection element in my tuple selection only? I.e. I don't want to every selection expression | |
Different behavior for two equal queries.organisation. Step 3: Process IndividualCommunicationInfo (v$2) instances (for every result tuple ... IndividualCommunicationClassification (v$3) instances (for every result tuple of the steps ... .classification. Step 6: Process IndividualPostalAddress (v$4) instances (for every result tuple | |
combined index not used (for every result tuple of the steps above) ------------------------------------------ [Step 4a] Scan ... .linkedObjects join v$2). Step 5: Process ObjectProperty (v$3) instances (for every result tuple ... ='(OP)'). Step 3: Process ObjectProperty (p1) instances (for every result tuple of the steps | |
queries under 2.7.6_4 significantly slower than under 2.7.6) instances (for every result tuple of the steps ... tuple of the steps above) --------------------------------------------- [Step 4a] Scan type com ... ) instances (for every result tuple of the steps | |
Issue with UPPER ? ($4) instances (for every result tuple of the steps ... IndividualPostalAddress ($5) instances (for every result tuple of the steps ... ; (for every result tuple of the steps above) ---------------------------------------------------------- [Step 8a | |
@FetchGroup in JPA similar to JDO_NAME, "names"); This will be equivalent to query using tuples : TypedQuery query = em.createQuery("select e.firstName, e.lastName FROM Entity e", Tuple .class); But with fetch group you don't have to convert tuples to objects. I know that you can add many constructors to Entity and change query |