ObjectDB ObjectDB

Internal Website Search

1-10 of 25 resultsRefresh
117

asc(x)

Method javax.persistence.criteria.CriteriaBuilder Order asc( Expression<?> x ) Create an ordering by the ascending value of the expression. Parameters: x - expression used to define the ordering Returns: ascending ordering corresponding to the expression Since: JPA 2.0
51

ORDER BY clause (JPQL / Criteria API)

variables that are defined in the FROM clause. Order Direction (ASC, DESC) The default ordering direction ... even though it could be specified explicitly, as follows: SELECT c.name FROM Country c ORDER BY c.name ASC ... .class); q.select(c); q.orderBy(cb.asc(c.get("currency")), cb.desc(c.get("population
32

Criteria Query Selection and Results

around Expression, which adds order direction - either ascending (ASC) or descending (DESC). The CriteriaBuilder's asc and desc methods take an expression and return an ascending or descending Order
23

FROM clause (JPQL / Criteria API)

reserved words: ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BIT_LENGTH, BOTH, BY, CASE, CHAR_LENGTH
23

JPA Query Structure (JPQL / Criteria)

GROUP BY / HAVING (groupBy, having, count, sum, avg, min, max, ...). Criteria ORDER BY (orderBy, Order, asc, desc).
23

ObjectDB Object Database Features

expressions). GROUP BY (including HAVING and aggregates). ORDER BY (including ASC, DESC). Aggregates
23

JPA Criteria API Queries

, count, sum, avg, min, max, ...). ORDER BY clause (orderBy, Order, asc, desc). The links
18

javax.persistence.OrderBy

_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order) is assumed ... { ... @ManyToMany @OrderBy("lastname ASC") public List ... _item [,orderby_item]* orderby_item::= [property_or_field_name] [ASC | DESC] If ASC or DESC
11

OrderBy.value

Annotation Element javax.persistence.OrderBy String value An orderby_list. Specified as follows: orderby_list::= orderby_item [,orderby_item]* orderby_item::= [property_or_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order) is assumed. If the ordering element
6

javax.persistence.criteria.CriteriaBuilder

selection item Since: JPA 2.0 Order asc( Expression<?> x) Create an ordering by the ascending value

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