Home » Search

About begin

91-100 of 200Refresh
Forum
1

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

(); } public void doit() { String sbs = "This is a test String"; em.getTransaction().begin ... distributed revision cotrol system (DRCS) like hg and git. But before that can begin I have to import
Forum
1

Entity Update - Is the documentation up to date?

transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged ... from outside an active transaction.  If I subsequently begin and commit a transaction, all my changes
Forum
1

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

) {   if (WRITE_DATA_TO_DATABASE) {    em.getTransaction().begin();    for (int i = 0; i < 1000; i ... queryDatabase(EntityManager em) {   if (WRITE_DATA_TO_DATABASE) {    em.getTransaction().begin
Forum
1

failure to enforce NOT NULL for java.lang.String

); //try { tr.begin(); em.persist(r); tr.commit(); //} //catch ... ().begin();         em.persist(new Request());         em.getTransaction().commit();         em
Forum
1

Fantom

() .with { transaction.begin() persist(new Address(street:"Groovy")) transaction.commit() } @Entity class ... .with { getTransaction.begin persist(Address {street = "Fantom
Forum
1

Field not persisted in abstract class with two level of nesting

/TEST1.odb").createEntityManager();         em.getTransaction().begin();         TZ1 tz = new TZ1 ... ();         em.getTransaction().begin();         TZ2 tz = new TZ2("GMT");         MHD2 MH = new
Forum
1

find() cost unreasonable time!

();   LinkedList queue = new LinkedList();   trans.begin();   Nodes parent = new ... , (System.currentTimeMillis()-start)/1000f);     trans.commit();     em.clear();     trans.begin
Forum
1

How prevent post-compile enhancement of non entity classes

/objectdb.jar"/> begin ObjectDB enhancer"/>
Forum
1

How to do multithreading with embedded ObjectDB

.getTransaction().begin();         em.persist(p);         em.getTransaction().commit();         em.close ... ();                     em.getTransaction().begin();                     //Query q = em.createQuery("UPDATE Point
Issue
1

Issue with cascade delete & add/remove

.getAddresses().add(new Address("2", "2", "2"));         em.getTransaction().begin();         em ... Contact")             .setMaxResults(1).getSingleResult();         em.getTransaction().begin