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

Eager Fetch is not stable for collection or map types?

> result = query.setParameter("id", id).getResultList();     if(result.size() > ... where", 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 = ?1", Foo.class).setParameter(1, barName) stacktrace: setParameter("name", "aaa");         System.out.println

Navigation through Path to evaluate collection

;,ProductData.class)        .setParameter("key", key)        .setParameter("id", key)        ;  

Catching exceptions from client-server mode online backup

= em.createQuery("objectdb backup", Thread.class); backupQuery.setParameter("target", "relative-path"); backupQuery.setParameter("name", backupSubdir); In case

DB Files permissions

backup", Thread.class); backupQuery.setParameter("target", getBackupDirectory()); backupQuery.setParameter("name", backupSubdir); thamal Tomas Hamal ObjectDB creates files using

Bulk update of embedded entities in linked list

;         .setParameter("value", 100.0)                     .setParameter("uid", 12345)          

Embedded List

.createEntityManager().createNamedQuery("ItemDB.getPart", ItemDB.class).setParameter(1, strSupPart);

NullPointer on query

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

Online Backup degrades responsiveness.

="pre-java"> backupQuery.setParameter("sleepInMillisPerMB", 500);// sleep for 500ms every 1MBbackupQuery.setParameter("sleepInMillisPerMB", 500L));// sleep for x ms every 1MB