ObjectDB ObjectDB

Internal Website Search

71-80 of 102 resultsRefresh
7

Unexpected query token 'delete' (SELECT is expected) (error 752)

simple codes(see attachment), failed. gzdillon Lai Yang DELETE queries should not be run with getSingleResult (which is for SELECT queries). Use executeUpdate instead. See this manual page. support Support
7

Online backup in embedded mode fails

.java:498) at com.objectdb.o.QRY.s(QRY.java:292) at com.objectdb.jpa.JpaQuery.getSingleResult
7

Failed to read DB file while online backup is running

= backupQuery.getSingleResult();   // Wait until the backup is completed.   try {    backupThread
7

Broken @ManyToOne reference

);     Child child = em.createQuery("SELECT  e FROM Child e", Child.class).getSingleResult(); because Main
7

EntityManager JPA or JDO impl and different behavior

Holder h",             Holder.class).getSingleResult();         em.close
7

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

("numberOfMapItems"); q.setFlushMode(FlushModeType.AUTO); try { long l = (Long) q.getSingleResult
1

Exception on comparing array fields against parameters in queries

:249) at com.objectdb.o.QRR.i(QRR.java:155) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java
1

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

; try { rows = (long) count.getSingleResult(); } catch (final PersistenceException
1

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence
1

user defined backup file

.getSingleResult(); This should create a backup file with the original name of the database in the directory

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