ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh

Cannot catch a PersistenceException and continue the transaction

but those don't work for me. Begin a new (nested) transaction in another method that will be rolled back instead of the first one- doesn't work. I got a message that it couldn't begin a new transaction

JOD problems regarding detachCopy()

{ pm.currentTransaction().begin(); Query q=pm.newQuery(Boat.class ... .getPersistenceManager(); try { pm.currentTransaction().begin


") .createEntityManager() .with { transaction.begin() persist(new Address(street:"Groovy ... .odb") .createEntityManager .with { getTransaction.begin persist(Address

Not able to update records

on your own. Try surrounding your executeUpdate with em.getTransaction().begin() to start ... .getTransaction().begin(); // start the transaction Query query = em.createQuery(createUpdateQuery

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

(dbName).createEntityManager();         em.getTransaction().begin();         em.persist(new A(new ... it by persisting the B object explicitly: em.getTransaction().begin(); B b = new B(1); em

How prevent post-compile enhancement of non entity classes

/objectdb.jar"/> <target name="-post-compile"> <echo message="begin ObjectDB enhancer"/> <java ... compile single: begin ObjectDB enhancer"/> <java classname="com.objectdb.Enhancer" fork="true

How to do multithreading with embedded ObjectDB

.getTransaction().begin();         em.persist(p);         em.getTransaction().commit();         em.close ... ();                     em.getTransaction().begin();                     //Query q = em.createQuery("UPDATE Point

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

em = emf.createEntityManager();         em.getTransaction().begin();         em.persist(new ... ); .... } EntityManager em = emf.createEntityManager(); log_info("Persist project.."); em.getTransaction().begin

PostUpdate collection null

= emf.createEntityManager();         em.getTransaction().begin();         MyEntity e = new MyEntity(1 ... .createEntityManager();         e = em.find(MyEntity.class, 1);         em.getTransaction().begin

Negative snapshot user count

;drop");         EntityManager em = emf.createEntityManager();         em.getTransaction().begin ... ();                     em2.getTransaction().begin();                     em2.createQuery(DELETE_QUERY

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