ObjectDB ObjectDB

Internal Website Search

21-30 of 37 resultsRefresh

Mysterious "Attempt to persist a reference to a non managed instance" error

.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.Persistence; import ... = new Ostrich();       Index d = new Index(o, dEntries);         EntityTransaction tx = em

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

) {   javax.persistence.EntityTransaction et = em.getTransaction();   if ( et.isActive ... () {   withinTransaction("findAllGuests");   javax.persistence.EntityTransaction et = em.getTransaction();   javax

Unexpected NoSuchFieldError exception

.EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase ... .persistence.EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact

Performance in large transactions

(FlushModeType.AUTO); EntityTransaction transaction = entityManager.getTransaction ... ); EntityTransaction transaction = entityManager.getTransaction(); transaction.begin (); for (i = 0; i <100

Bug: ClassCastException by retrieval

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction ... = emf.createEntityManager();   EntityTransaction trans = em.getTransaction();   //* block-1

find() cost unreasonable time!

; import javax.persistence.EntityManager; import javax.persistence.EntityTransaction; import javax ... iBlock; private static Random rd; private static EntityTransaction trans = SingleManager.getTrans

find() delay

.createEntityManager();   EntityTransaction trans = em.getTransaction();   int iBlock = 3;   //* codes-1

Query results are not up to date for entities, not primitives

"); EntityManager em2 = emf   .createEntityManager(); EntityTransaction tr = em2   .getTransaction


the PessimisticLockException and ensure that the JTA transaction or EntityTransaction

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.transaction == null"); } else { EntityTransaction t = em.getTransaction ... !"); } else { EntityTransaction t = em.getTransaction(); log_info($i

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