About begin

91-100 of 200Refresh
Issue
1

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

();                 try {             Object oid = null;             pm.currentTransaction().begin ... .currentTransaction().commit();                 pm.currentTransaction().begin();             pm.newQuery
Forum
1

Cannot catch a PersistenceException and continue the transaction

but those don't work for me. Begin a new (nested) transaction in another method that will be rolled back instead of the first one- doesn't work. I got a message that it couldn't begin a new transaction
Forum
1

Cannot sort descending, when ordering by caluculated float in a method

.getTransaction().begin();                 Invoice i1 = new Invoice();         i1.getItemList ... /test.odb"); EntityManager em = emf.createEntityManager(); em.getTransaction().begin
Forum
1

Compile time enhancement using build.xml of a Netbeans web application

-compile">      begin ObjectDB enhancer"/>
Forum
1

Does ObjectDB support lazy loading?

(); em.getTransaction().begin(); A a = new A(); a.list = new ArrayListbegin();          A a = new
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