Internal Website Search

111-120 of 200 resultsRefresh

Unexpected behaviour upon update. Bug?

= emf.createEntityManager(); em.getTransaction().begin(); Update simple = new ... .getTransaction().commit(); simple.v = 4; em.getTransaction().begin(); simple

Merge with Parent/Child entities not possible

.getTransaction().begin();   entityManager.persist(parentEntity);   parentEntity.addChild(new ... ().size());   entityManager.getTransaction().begin();   ParentEntity parentEntityNew

Rollback after commit fail

{ EntityManager em = emf.createEntityManager(); em.getTransaction.begin() persist ... em = emf.createEntityManager(); em.getTransaction.begin() persist object2

failure to enforce NOT NULL for java.lang.String

Request(); r.setUsername(null); //try { tr.begin(); em.persist(r); tr ... ;   em.getTransaction().begin();         em.persist(new

IN expression in a Criteria Query

;   em.getTransaction().begin();         em.persist(new ... ();         em.getTransaction().begin();     

em.flush(); em.clear(); loosing data and not persisting managed objects

.getTransaction().begin(); for(int i=0;i<Integer.MAX_VALUE;i++) { TestEntity v = new ... system (DRCS) like hg and git. But before that can begin I have to import these csv files into

Unable to persist TreeMap

Association", "President");         em.getTransaction().begin ... ; " value: " + entry.getValue()); } //for em.getTransaction().begin(); em.persist(association); em

I can't get cascading delete to work in JDO

.getPersistenceManager();         pm.currentTransaction().begin();   ... ();         pm.currentTransaction().begin();         delete(pm

Sometimes the ObjectDB throws an internal expeption if a persist() was executed

lizense. At the beginning of the test (and our application), we add for all entities ... , because at the beginning of our application we add for all entity classes an instance in the database and rollback

Threaded Test - Failed to commit transaction: Unexpected internal exception

;      em.getTransaction().begin();         ... ;    em.getTransaction().begin();