ObjectDB ObjectDB

Internal Website Search

61-70 of 111 resultsRefresh

EntityManager.find(entityClass, primaryKey) is slow when accessing non-existent IDs

) { Instant t = now(); q.setParameter(1, existing ? 1 : EVALUATION_LIMIT); q.setParameter(2, existing ? EVALUATION_LIMIT : 2 * EVALUATION_LIMIT); List<X> l = q

Eager Fetch is not stable for collection or map types?

.setParameter("id", id).getResultList();     if(result.size() > 0) {       Game g = result.get(0 ... Game k where k.id=:id", Game.class); List<Game> result = query.setParameter("id", id

how to query by properties of onetomany relations? (Error 990)

the following code fails em.createQuery("select f from Foo f where f.bars.name = ?1", Foo.class).setParameter(1, barName) stacktrace: [ObjectDB 2.2.4] Unexpected exception (Error 990 ... .name = :name");         query.setParameter("name", "aaa");         System.out.println("Count

Navigation through Path to evaluate collection

.sku DESC"        ,ProductData.class)        .setParameter("key", key)        .setParameter("id

Catching exceptions from client-server mode online backup

); backupQuery.setParameter("target", "relative-path"); backupQuery.setParameter("name

DB Files permissions

> backupQuery = em.createQuery("objectdb backup", Thread.class); backupQuery.setParameter("target", getBackupDirectory()); backupQuery.setParameter("name", backupSubdir); thamal Tomas Hamal ObjectDB creates

Bulk update of embedded entities in linked list

" + "where a.uid = :uid") .setParameter("value", 100.0) .setParameter("uid", 12345) .executeUpdate

Embedded List

", ItemDB.class).setParameter(1, strSupPart); strSupPart is the part I am looking for in my Embedded List

NullPointer on query

", ObjectDbMessagePayload.class); query.setParameter("id", msg.getId()); List<ObjectDbMessagePayload> loaded = query ... ObjectDbMessagePayload m WHERE m.id = :id", ObjectDbMessagePayload.class); query.setParameter("id

Online Backup degrades responsiveness.

with the issue. Can you make it so that it can be configured via java e.g. backupQuery.setParameter ... > backupQuery = em.createQuery("objectdb backup", Thread.class); backupQuery.setParameter

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