ObjectDB ObjectDB

Internal Website Search

101-107 of 107 resultsRefresh

Memory leak with OutOfMemoryError exception

.setParameter("symbol", symbol);     List<DailyEntry> results = q.getResultList();     em.close

Query can't see recently persisted object

.setParameter("oid", oid); if ("-62e6083d:1612795a01c:-6e65".equals(oid)) { logger.debug

Online backup problem

.createQuery("objectdb backup");     query.setParameter("dummy", "dummy");     query.getSingleResult

com.objectdb.o.InternalException: Unexpected internal exception

(Person.class); List pList = em.createNamedQuery("getPersonByName",Person.class).setParameter

TYPE Expression

");         query.setParameter("type", A.class);         resultList = query.getResultList

Using SELECT BETWEEN with LocalDate

I am trying to query all entities whose date is between today and today + X days. The date inside the entity is a LocalDate. To do so I created the following query: .createQuery( "SELECT e FROM Element e WHERE e.date between CURRENT_DATE and :date", Element.class) .setParameter("date

JPQL support for mapped by (inverse) collections

", A.class)             .setParameter("list", new ArrayList(list1)).getResultList

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