ObjectDB ObjectDB

Internal Website Search

11-20 of 138 resultsRefresh
22

Paths and Types in JPQL and Criteria API

of all the entity objects in the database, excluding Country entity objects: SELECT COUNT(e) FROM ... of the iterated e. Only objects whose type is not Country are passed to the SELECT. The SELECT clause counts ... one group, and COUNT calculates its size). Criteria Query Paths and Types Paths and navigations
13

Strings in JPQL and Criteria Queries

. LENGTH - Counting Characters in a String The LENGTH(str) function returns the number of characters in
13

FROM clause (JPQL / Criteria API)

, CHARACTER_LENGTH, CLASS, COALESCE, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP
13

Is ObjectDB better than competing object databases?

queries (max, min, count, sum and avg). ObjectDB supports rich queries, including aggregate queries
13

JPA Query Structure (JPQL / Criteria)

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

Numbers in JPQL and Criteria Queries

Numeric values may appear in JPQL queries in many forms: as numeric literals - e.g. 123, -12.5. as parameters - when numeric values are assigned as arguments. as path expressions - in navigation to persistent numeric fields. as aggregate expressions - e.g. COUNT. as collection functions
13

Privacy Policy

, and single-pixel gifs) that permit the Company, for example, to count users who have visited those pages or
2

Step 3: Add a Main Class

of Point objects in the database: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p
2

Step 3: Add a Main Class

the database: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p
1

[ODB1] Chapter 7 - JDOQL Queries

objects can be obtained using the size() method: int count = result.size(); Iteration

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