ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

Some technical questions

an attribute of an object, but don't commit yet. Can another transaction fetch this object ... transaction either commits or rolls back? Since ObjectDB implements online backups, does it implement ... of an object, but don't commit yet. Can another transaction fetch this object without blocking? Yes

failure to enforce NOT NULL for java.lang.String

); //try { tr.begin(); em.persist(r); tr.commit(); //} //catch ... 2.3.7] javax.persistence.RollbackException Failed to commit transaction: Unique constraint (org ... ) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279) jon jon Thank you for this report

problem with lazy loading - unittest project attached

repository method, so i guess after the commit the id is assigned?! like i said, this is properbly ... .getTransaction().begin()/commit() and i also can not set the isolation to READ_UNCOMMITTED so i think ... Christoph Ernst You are welcome. To get an object ID before commit - please consider: a different

@OneToMany(fetch = FetchType.LAZY) list is always null

); transaction.commit(); } catch (NotSupportedException e) { e ... ); entityManager.merge(child.getParent()); transaction.commit(); } catch ... { transaction.begin(); entityManager.persist(o); transaction.commit

Database(*.odb) file size on disk

.add(entity.id);     em.getTransaction().commit();    }    System.out.println("references ... .class, entityAIds.get(i));     entity.entityB = entityB;     em.getTransaction().commit ... ));     em.remove(entity);     em.getTransaction().commit();    }   }   em.close();   emf

ArrayIndexOutOfBoundsException: -1

.PersistenceException Attempt to commit a transaction after failure in writing to database file 'C:\Users\Home ... (PersistTest.java:97) Caused by: com.objectdb.o.UserException: Attempt to commit a transaction ... situations (e.g. when using flush that is followed by other operations and then commit) - the page

cannot delete objects after crash (see issue 2283)

: <recovery enabled="true" sync="false" path="." max="128mb" /> In this mode, commit returns ... the speed of the sync mode by delaying returning from commit, gathering several concurrent committing ... but you may still lose the last committed transactions after recovery (just that the database will not

Query in nested transaction returns detached entity if lazy-loaded

= 1) and committed, during the commit an optimistic lock exception is thrown. The version flag ... to commit transaction: Optimistic lock failed for object com.btc.ep.base.bl.internal.entities.mapping ... ) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:289) at com.btc.ep.base.transactions.internal

Blocked by find

) com.objectdb.jpa.EMImpl.commit(EMImpl.java:276) rbccm.felix.objectdb.workflow.ObjectDbDataContainer ... :662) I'm not sure how to read this but it looks like objectdb is blocked in the commit ... .jpa.EMImpl.commit(EMImpl.java:276) at rbccm.felix.objectdb.workflow.ObjectDbDataContainer.save

new objects not available in mappedBy associations

, even if it is persisted, and even if the transaction is committed?? dmoshal David Moshal ... after the transaction is committed (or after the update and before commit, if your EntityManager

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