ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
6

Unexpected behaviour upon update. Bug?

(); em.getTransaction().begin(); Update simple = new Update(); simple.i = 0 ... (); simple.v = 4; em.getTransaction().begin(); simple = em.createQuery("SELECT s FROM
6

Merge with Parent/Child entities not possible

();   entityManager.getTransaction().begin();   entityManager.persist(parentEntity);   parentEntity ... .assertEquals(4, parentEntity.getChildren().size());   entityManager.getTransaction().begin
6

Rollback after commit fail

Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: Thread 1: try{ EntityManager em = emf.createEntityManager(); em.getTransaction.begin ... .getTransaction.begin() persist object2 persist object1 em.getTransaction
6

failure to enforce NOT NULL for java.lang.String

); //try { tr.begin(); em.persist(r); tr.commit(); //} //catch ... .getTransaction().begin();         em.persist(new Request());         em.getTransaction().commit
6

IN expression in a Criteria Query

();         em.getTransaction().begin();         em.persist(new MyEntity("a"));         em.persist(new ... "             );                 EntityManager em = emf.createEntityManager();         em.getTransaction().begin();         em.persist(new
6

em.flush(); em.clear(); loosing data and not persisting managed objects

(); } public void doit() { String sbs = "This is a test String"; em.getTransaction().begin ... system (DRCS) like hg and git. But before that can begin I have to import these csv files into a real
6

Unable to persist TreeMap

.getTransaction().begin();         em.persist(p);         em.getTransaction().commit ... ()); } //for em.getTransaction().begin(); em.persist(association); em.persist(pc); em.getTransaction
1

I can't get cascading delete to work in JDO

();         pm.currentTransaction().begin();         persist(pm);         pm.currentTransaction().commit();         pm.currentTransaction().begin();         delete(pm);         pm.currentTransaction
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
1

Threaded Test - Failed to commit transaction: Unexpected internal exception

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

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