About begin

121-130 of 200Refresh
Issue
1

preUpdate-methods are called when there is no change

Dear Support Team, we ran into some difficulties with a database. When fetching a entity using the EntityManager and afterwards calling "iterator().next()" a transaction begin/commit will end up in ... ().begin(); connection.getTransaction().commit(); // --> will result in a call of @PreUpdate
Forum
1

Problem with byte arrays in JDO - ClassCastException

.getPersistenceManager();         // Clear out existing objects         pm.currentTransaction().begin ... .currentTransaction().commit();         pm.currentTransaction().begin();         Example example1 = new
Forum
1

Problem with byte arrays in JDO - internal exception

(); // Clear out existing objects pm.currentTransaction().begin(); Query query = pm ... ().commit(); pm.currentTransaction().begin(); Example example1 = new Example
Forum
1

Rollback after commit fail

Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: Thread 1: try{ EntityManager em = emf.createEntityManager(); em.getTransaction.begin ... (); em.getTransaction.begin() persist object2 persist object1 em.getTransaction
Forum
1

Schema-Update: Rename superclass and remove one subclass

(); // // Persist an entity em.getTransaction().begin(); ChildClassA entity1 = new ChildClassA ... (RenamedSuperClass.class); em.getTransaction().begin(); // do something ChildClassA
Issue
1

Schema-Update: Rename superclass and remove one subclass

(); // // Persist an entity em.getTransaction().begin(); ChildClassA entity1 = new ChildClassA ... (RenamedSuperClass.class); em.getTransaction().begin(); // do something ChildClassA
Forum
1

Should I be able to persist a JFrame (or gui components in general)?

a; a = new NewJFrame(); a.setVisible(true); em.getTransaction().begin ... .getTransaction().begin(); em.persist(a); em.getTransaction().commit(); System.out.println
Issue
1

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

without ObjectDB lizense. At the beginning of the test (and our application), we add ... activation-code).   The problem is now that we don't see the exception, because at the beginning
Issue
1

spuriously objectdb objects have null references

Object(); public static void begin(EntityManager threadEntityManager){ synchronized(lockBegin){ try { threadEntityManager.getTransaction().begin(); } catch (Exception e
Forum
1

Storing objects problem

.createEntityManager();               em.getTransaction().begin();           for(Device dev : deviceList ... ");      EntityManager em = emf.createEntityManager();               em.getTransaction().begin