Internal Website Search

1-10 of 200 resultsRefresh

ORDER BY clause (JPQL / Criteria API)

The ORDER BY clause specifies a required order for the query results. Any JPQL query that does not include an ORDER BY clause produces results in an undefined and non-deterministic order . ORDER BY ... is at least one million people, ordered by the country name: SELECT c.name FROM Country c WHERE c.population 1000000

GROUP BY and HAVING clauses

The GROUP BY clause enables grouping of query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. The position of a GROUP BY clause in the query execution order is after the FROM and WHERE clauses, but before the SELECT

Database Explorer

. The order of elements in an ordered collection can be modified by using the Edit Move Element commands ... ] and the [Hidden Fields] lists. You can change the order of the fields shown by using the Up and Down arrow buttons or the [Field Ordering ] combo box. A view for a class can also be set by right clicking

Criteria Query Selection and Results

The JPA Criteria API interfaces in this group are used for setting the SELECT and ORDER BY clauses ... of Selection : See the SELECT in Criteria Queries section for more details and examples. ORDER BY Clause Elements Elements in the ORDER BY clause are represented by the Order interface: The Order

javax.persistence.criteria.Order

JPA Interface Order An object that defines an ordering over the query results. Since: JPA 2.0 The ORDER BY clause (JPQL / Criteria API) article explains how to use Order . Public Methods Expression getExpression () Return the expression that is used for ordering . Return: expression used

[ODB1] Chapter 7 - JDOQL Queries

; Ordering the Results A result collection can be ordered by a query. For example: Query query = pm ... is returned by the query. Iterating over the result collection using Iterator returns people in order ... the order in which they were added to the database (but this behavior is not specified by JDO

[ODB1] Chapter 6 - Persistent Objects

that is required by JDO, ObjectDB manages another cache containing database pages, in order to improve efficiency ... well using complex, sophisticated queries. The results can also be sorted by specified order expressions ... Explicitly When a new object is constructed by the new operator, it always starts as a transient

[ODB1] Chapter 9 - ObjectDB Explorer

Fields" and the "Hidden Fields" lists. You can change the order of the shown fields by using the Up and Down arrow buttons or the "Field Ordering " combo box. A view for a class can also be set by ... .jar my.odb Some JVM arguments can be useful. For instance, by default Java does not use

[ODB1] Chapter 4 - JDO Metadata

file. The metadata is used first by the JDO Enhancer, and later by the JDO ... description of each class in several .jdo files in a pre defined order . If a metadata description ... the following paths (in the order shown): META-INF/package.jdo WEB-INF/package.jdo package.jdo a/package.jdo

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database