ObjectDB ObjectDB

Internal Website Search

41-50 of 107 resultsRefresh

Query over the keySet of a map field with collection parameter

, EntityParent.class); q.setParameter(1, values); List<EntityParent> result = q ... ("c2"); q.setParameter(1, params); btc_es BTC EmbeddedSystems To help you with this need, a new

Sorting problem

BY ?1 DESC";     icQuery = em.createQuery(q, Branch.class);     icQuery.setParameter(1, "br.id ... ");     query.setParameter("query", "SELECT b FROM Branch b"); This is because parameters are not parsed as

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

Calendar in Criteria Querys

));         results = em.createQuery(query)             .setParameter(p, Calendar.getInstance ... .createQuery(query)     .setParameter(p, Calendar.getInstance().getTime()).getResultList(); Automatic

Mismatch client-server protocol prefix

");         q.setParameter("uname", username);         TrackerUser result = null;         result ... t FROM Unit t WHERE LOWER(t.unitID) = LOWER(:uname)");         q.setParameter("uname", unitName

Duplicate Entity class names causes Exception in Query

.Singleton.getItem", Item.class); q.setParameter("cachedKey", Integer.toString(which)); try ... .NoIdQuerySingleton.uniqueMapItem"); q.setParameter("cachedKey", cachedKey.toString());//ObjectDb

Criteria Query results in a NoResultException instead of returning object

() + " = :identityObjectName"; Object val = em.createQuery(queryStr) .setParameter ... .createQuery(queryStr) .setParameter("identityObjectName", "demo

Update query bug

"); query.setParameter("code", personalCode); List<List<Transport>> list = query.getResultList ... SET p.transports = :list WHERE p.personalCode = :code", Person.class); query2.setParameter("list", list); query2.setParameter("code", personalCode); query2.executeUpdate

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

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

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