Internal Website Search

91-100 of 200 resultsRefresh

Extra uninitialised entities spawned on merge()

.createEntityManager();         em.getTransaction().begin();    ... ;        em.getTransaction().begin();      ... ; }         em.getTransaction().begin();     

Should derived fields of an EmbeddedId be manually maintained by app code?

().begin(); EContainer container = EContainer.getInstance(em); long begin ... "); System.out.println("Created " + numItems + " in " + (end - begin) + " milliseconds"); System.err.flush

Empty temporary dat files in the temp folder

). For each user action we create an EntityManager, begin a transaction, do some stuff (find, persist ... .setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   MyEntity myEntity ... );   em.getTransaction().begin();   // do anything - access an entity   MyEntity

Left join fetch behaviour doesn't retrieve children?

;  em.getTransaction().begin();         }    ... .getTransaction().begin();   }   MyEntity e1 = new MyEntity("parent1");   e1.addChild ... .getTransaction().begin();   }   // Write 100 000 entities with 1 child for each

Issue with orphanRemoval and multiple EntityManagers

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

Schema-Update: Rename superclass and remove one subclass

.createEntityManager(); // // Persist an entity em.getTransaction().begin(); ChildClassA entity1 = new ... .getTransaction().begin(); // do something ChildClassA entityWithID1 = em.find(ChildClassA

persisting object with long[][] arrays of array

().begin();         emg.persist(obj);      ... ;   emg.getTransaction().begin();         emg.persist

Problem with byte arrays in JDO - internal exception

.currentTransaction().begin(); Query query = pm.newQuery(Example.class); query.deletePersistentAll(); pm.currentTransaction().commit(); pm.currentTransaction().begin

find() cost unreasonable time!

();   LinkedList<Nodes> queue = new LinkedList<Nodes>();   trans.begin ... ; em.clear();     trans.begin();    }   }   trans.commit

spuriously objectdb objects have null references

void begin(EntityManager threadEntityManager){ synchronized(lockBegin){ try { threadEntityManager.getTransaction().begin(); } catch (Exception e){ } } } ...