Home » Search

About tuple

51-60 of 66Refresh
JPA Doc
5

construct(resultClass, selections)

- if an argument is a tuple- or array-valued selection item Since: JPA 2.0
JPA Doc
5

getAlias()

Method javax.persistence.TupleElement String getAlias() Return the alias assigned to the tuple element or null, if no alias has been assigned. Returns: alias Since: JPA 2.0
JPA Doc
5

getResultType()

, the result type is Tuple. Otherwise, the result type is Object. Returns: result type Since: JPA 2.0
JPA Doc
5

javax.persistence.criteria.AbstractQuery

is Tuple. Otherwise, the result type is Object. Returns: result type Since: JPA 2.0 Set< Root
Issue
3

Weird issue with variable naming

javax.persistence.OneToMany; import javax.persistence.Persistence; import javax.persistence.Tuple ... CriteriaBuilder cb = em.getCriteriaBuilder();   final CriteriaQuery<Tuple> cq = cb.createQuery(Tuple.class);   final Root from = cq.from(MyEntity.class);   final Join join2 = from.join
Issue
3

@FetchGroup in JPA similar to JDO

); query.setHint(QueryHints.FETCH_GROUP_NAME, "names"); This will be equivalent to query using tuples: TypedQuery<Tuple> 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
Forum
3

Entity is not related to ObjectDB, but i get exception from ObjectDB

.entity.psql.DialogNew at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:127) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:136) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.tuple
Issue
3

Issue with DISTINCT Select

more than on tuple, e.g. if (1,2a) and (1,2b) are both result tuples - only 1 is returned ... Tuple element result lists and I need only a clean Collection<$1> being returned as otherwise I ... tuple element and putting it into my own list.. Isn't there any other, more effective way
Forum
1

composite index not used in query

.classIdentifier='(OP)'). Step 3: Process ObjectNode (v$1) instances (for every result tuple
Forum
1

Group by date / time

), " +             "HOUR(e.t), MINUTE(e.t), SECOND(e.t) FROM MyEntity e",             Tuple.class