ObjectDB ObjectDB

Internal Website Search

61-70 of 111 resultsRefresh
10

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
10

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
10

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
10

Navigation through Path to evaluate collection

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

Catching exceptions from client-server mode online backup

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

DB Files permissions

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

Bulk update of embedded entities in linked list

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

Embedded List

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

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
2

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