ObjectDB ObjectDB

Internal Website Search

21-28 of 28 resultsRefresh

slow performance for a complex query

set with setFirstResult and setMaxResults. I could do this with subqueries, however as I understand

Retrieve latest entry in a time-series

result only:     return em.createQuery("...").setMaxResults(1).getSingleResult(); support Support

Left join fetch behaviour doesn't retrieve children?

= query.setMaxResults(10000).getResultList();   Long end = new Date().getTime();   Long

LIMIT or TOP functions

Is there LIMIT or TOP functions in object db? If so can you provide some examples? vinodh vinodhkumar You can set query result range by using the setFirstResult and setMaxResults methods. You can find more details and an example in the manual. support Support Thanks. This solved my purpose. vinodh vinodhkumar

Iterating over large result set

");     for (Tuple t : q.setFirstResult(page).setMaxResults(pageSize).getResultList()) {         // work

Issue with cascade delete & add/remove

();         contact = (Contact) em.createQuery("SELECT FROM Contact")             .setMaxResults(1

Threaded Test - Failed to commit transaction: Unexpected internal exception

");                 Point p = (Point)q.setMaxResults(1).setLockMode(                     LockModeType.PESSIMISTIC_WRITE

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

)); Query q = em.createQuery(cq); if (!all) { q.setMaxResults

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