Home » Search

About EntityTransaction

21-30 of 34Refresh
Forum
3

find() cost unreasonable time!

.EntityManager; import javax.persistence.EntityTransaction; import javax.persistence.Query; import fpg ... ; private static EntityTransaction trans = SingleManager.getTrans(); private static int iBegin = 0
Forum
3

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
Forum
3

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

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

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, "AFTER: em.transaction
Forum
3

Performance in large transactions

(FlushModeType.AUTO); EntityTransaction transaction = entityManager.getTransaction ... ); EntityTransaction transaction = entityManager.getTransaction(); transaction.begin (); for (i = 0; i
Forum
3

Unexpected NoSuchFieldError exception

(error 612) at com.objectdb.jpa.EMImpl.begin(EMImpl.java:275) at javax.persistence.EntityTransaction ... .EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase.groovy
Forum
2

"Attempt to lock a non entity object" error

(), and rollback() on a JPA EntityTransaction and I'm still getting the same error. Am I missing
Forum
2

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

");     EntityManager em = emf.createEntityManager();     EntityTransaction tx = em.getTransaction
Forum
2

Error 363 - Failed to read value of inverse relationship

; //        } //    }         private static boolean save(Object obj) {         EntityTransaction tr = db
Forum
2

failure to enforce NOT NULL for java.lang.String

(); EntityTransaction tr = em.getTransaction(); Request r = new Request(); r.setUsername(null