ObjectDB ObjectDB

Internal Website Search

81-90 of 102 resultsRefresh
7

Cannot catch a PersistenceException and continue the transaction

I try to create a factory that creates new objects just in case it doesn't find the relevant one in the DB. but because query.getSingleResult() fires NoResultException in that case it marks the transaction as one that need to be rolled back. I understood that I can overcome it in several ways
7

Activation key causes database to not start

).getSingleResult(); support Support Perfect! Thank you. zmirc Mircea Chirac
7

Replication error - parsing objectdb config

("Total Points: " + replicatedQuery.getSingleResult()); replicatedManager.close
7

Wrong data stored in time only fields

) q.getSingleResult();                 System.out.println("TOTAL RECORDS: " + r.longValue
7

createQuery method error

).getSingleResult()>0 ? true : false; } Once I compile it, Error: C:\Users\xxx\xxxxx\vobs\xxxxx\xxxxx\src\main
7

user defined backup target

", new java.io.File("c:\\backup")); backupQuery.getSingleResult(); The code above, for instance
7

JPA does not seem to be db agnostic

)); return em.createQuery(query).getSingleResult(); } kasavbere kasav A valid JPQL query
7

Retrieve latest entry in a time-series

result only:     return em.createQuery("...").setMaxResults(1).getSingleResult(); support Support
7

How to check that ObjectDb licenses are activated?

.createEntityManager().createQuery("objectdb activation", boolean.class).getSingleResult(); But for v2.8
1

Getting an error when adding activation code to conf file

.getSingleResult()); em.close(); emf.close(); } @Entity public

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