ObjectDB ObjectDB

Internal Website Search

1-10 of 43 resultsRefresh
117

desc(x)

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

Query problem after transaction commit

successfully] 04> SELECT u FROM Goods u where u._code like :code AND u._desc like :desc 05> code= %, desc= % 06> UI: end query 07> UI: start printing result 08> code= A, desc= Good A, byUser= test 09> code= B, desc= Good B, byUser= test 10> code= C, desc= Good C, byUser= test 11> UI: end printing result
51

ORDER BY clause (JPQL / Criteria API)

variables that are defined in the FROM clause. Order Direction (ASC, DESC) The default ordering direction ... On the other hand, to apply descending order the DESC keyword must be added explicitly to the order expression: SELECT c.name FROM Country c ORDER BY c.name DESC Grouping (GROUP BY) Order The ORDER BY clause
27

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
19

FROM clause (JPQL / Criteria API)

,DELETE, DESC, DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE, FETCH,FROM, GROUP, HAVING, IN
19

JPA Query Structure (JPQL / Criteria)

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

ObjectDB Object Database Features

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

JPA Criteria API Queries

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

javax.persistence.OrderBy

_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order) is assumed ... _item [,orderby_item]* orderby_item::= [property_or_field_name] [ASC | DESC] If ASC or DESC
8

javax.persistence.Column

, the default values apply. Example 1: @Column(name="DESC", nullable=false, length=512) public String getDescription() { return description; } Example 2: @Column(name="DESC

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