ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
148

Group by: list if no aggregate function is specified

Hello! In a query like SELECT parent, children FROM Parent parent LEFT JOIN p.children children GROUP BY parent maybe it would be good if it will return a list of Object[2], where the second object is a list of children of a parent. Because creating a query to get a list of parents, then fetching
28

groupBy(grouping)

Method javax.persistence.criteria.AbstractQuery<T> AbstractQuery<T> groupBy( List<E> grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added
28

groupBy(grouping)

Method javax.persistence.criteria.CriteriaQuery CriteriaQuery<T> groupBy( Expression... grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously
28

groupBy(grouping)

<?>> grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. This method only overrides the return type
28

groupBy(grouping)

Method javax.persistence.criteria.AbstractQuery AbstractQuery<T> groupBy( Expression... grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously
28

groupBy(grouping)

<?>> grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. Parameters: grouping - list of zero or
28

groupBy(grouping)

Method javax.persistence.criteria.Subquery Subquery<T> groupBy( Expression... grouping ) Specify the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added
28

groupBy(grouping)

Method javax.persistence.criteria.Subquery Subquery<T> groupBy( List<Expression<?>> grouping ) Specify the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added
28

groupBy(grouping)

Method javax.persistence.criteria.CriteriaQuery<T> CriteriaQuery<T> groupBy( List<E> grouping ) Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added
28

groupBy(grouping)

Method javax.persistence.criteria.Subquery<T> Subquery<T> groupBy( List<E> grouping ) Specify the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support