ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
5

Persisting collection where members are subclasses

"); System.err.println(f.getChildren()); entityManager.getTransaction().begin(); entryDao ... .getTransaction().begin();         em.persist(f);         em.getTransaction().commit
5

persisting object with long[][] arrays of array

.getTransaction().begin();         emg.persist(obj);         emg.getTransaction().commit();         emg ... ),                 random2(n),                 random2(n));         emg.getTransaction().begin();         emg.persist
5

java.lang.UnsupportedOperationException

.getResultList(); em.getTransaction().begin(); for (Object entity : results)     em.remove(entity); em ... ().begin(); em.unwrap(PersistenceManager.class).newQuery(License.class).deletePersistentAll(); em
5

Multi-thread access to single EM's entities

.getTransaction().begin();         em.persist(pointless);         em.getTransaction().commit();         em.getTransaction().begin();           Thread t = new Thread(new Runnable
5

Does ObjectDB support lazy loading?

.createEntityManager(); em.getTransaction().begin(); A a = new A(); a.list = new ... .createEntityManager();             if (args[0].equals("persist")) {          em.getTransaction().begin
1

Issue with cascade delete & add/remove

"));         em.getTransaction().begin();         em.persist(contact);         em.getTransaction().commit ... ).getSingleResult();         em.getTransaction().begin();         Address address_1 = contact.getAddresses().get(0
1

Threaded Test - Failed to commit transaction: Unexpected internal exception

.createEntityManager();             em.getTransaction().begin();             try {                 em ... take() {             EntityManager em = _emf.createEntityManager();             em.getTransaction().begin
1

UPDATE statemen crash when i put the WHERE clause.

this. EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); EntityManager updateEm ... _points); updateEm.getTransaction().begin(); updateEm.createQuery("update Record
1

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

{             Object oid = null;             pm.currentTransaction().begin();             for (int i = 0; i ... ();                 pm.currentTransaction().begin();             pm.newQuery("SELECT a FROM
1

Sometimes the ObjectDB throws an internal expeption if a persist() was executed

executed on a test machine without ObjectDB lizense. At the beginning of the test ... see the exception, because at the beginning of our application we add for all entity classes

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