ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh

How to Use a SF with extended Persistence Context?

to the SF I get com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active. In principal The SF doesn't need to begin any transaction since it only get called by ... ._PersistenceException: Attempt to begin a new transaction when a transaction is active at com.objectdb.o

Merge Issue: Attempt to reuse an existing primary key value

.createEntityManager();         if (! em.getTransaction().isActive()) {             em.getTransaction().begin ... .getTransaction().isActive()) {             em.getTransaction().begin ... ");         EntityManager em = emf.createEntityManager();         em.getTransaction().begin();         A a = new

Is it possible to remove parent/child entities without refresh?

.getTransaction().begin();   entityManager.persist(parentEntity);   parentEntity.addChild(new ChildEntity ... .find(ParentEntity.class, Long.valueOf(1));   entityManager.getTransaction().begin ... .getTransaction().begin();   ChildEntity childEntity2 = parentEntity.getChildren().get("childEntity2

Insertion Speed Rate and Batch Load

= System.currentTimeMillis();         em.getTransaction().begin();         for (int i = 1; i <= count ... )             {                 em.getTransaction().commit();                 em.getTransaction().begin ... ();   em.getTransaction().begin();   for (int i=0, j=0; i<deviceCount; i++) {    if (i

find() delay

Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans.begin(); create typeC o; em.persist ... . My codes, again, are similar to these: 1. trans = em.getTransaction(); trans.begin(); create typeC o; em ... ++) {             em.getTransaction().begin();             em.persist(new MyEntity());             em

Unable to execute update query

().begin();         for (int i = 0; i < 400000; i++)             em.persist(new MyEntity(i));         em.getTransaction().commit();                 em.getTransaction().begin();         Query query ... ");         em.getTransaction().begin();         for (int i = 0; i < 1000000; i++) {             em.persist

Remove an entity which attributes were changed - OptimisticLockException

();         em.getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction ... ().begin();         MyEntity e = em.find(MyEntity.class, 1);         e.value++;         em.flush ... .createEntityManager();         em.getTransaction().begin();         MyEntity entity = new MyEntity

Update more than 10000 entities by an update query fails

"); EntityManager emOne = emf.createEntityManager(); emOne.getTransaction().begin ... emTwo = emf.createEntityManager(); emTwo.getTransaction().begin(); emTwo ... .getTransaction().begin(); emThree.setFlushMode(FlushModeType.AUTO

Tracking changes to new collections (in enhancement mode) after flush

);         EntityManager em = emf.createEntityManager();                  em.getTransaction().begin ... .setFlushMode(FlushModeType.AUTO); em.getTransaction().begin(); ModelElementImpl m1 = new ... ); em.getTransaction().begin

Unexpected exception (Error 990) com.objectdb.o.InternalException

with an embeddable:         em.getTransaction().begin();         em.persist(new MyEntity());         em ... ();         // Update the embeddable:                  em.getTransaction().begin ... .getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction().commit

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