About begin

131-140 of 200Refresh
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
Issue
1

Threaded Test - Failed to commit transaction: Unexpected internal exception

) {             EntityManager em = _emf.createEntityManager();             em.getTransaction().begin ... ();             em.getTransaction().begin();             try {                 Query q = em.createQuery
Forum
1

Unable to persist TreeMap

.getTransaction().begin();         em.persist(p);         em.getTransaction().commit ... .getKey() +       " value: " + entry.getValue()); } //for em.getTransaction().begin(); em
Forum
1

Unexpected behaviour upon update. Bug?

(); em.getTransaction().begin(); Update simple = new Update(); simple.i = 0 ... (); simple.v = 4; em.getTransaction().begin(); simple = em.createQuery("SELECT s FROM
Forum
1

Unique contraint with 2 members

");         EntityManager em = emf.createEntityManager();                 em.getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction().commit();         em.getTransaction().begin
Forum
1

Using the wrong class to access a database

(); } static void create(EntityManager em) { em.getTransaction().begin(); for (int i = 0; i < 1000 ... = query.getResultList(); em.getTransaction().begin(); for (Point p : results) { if (p
Forum
1

Updating existing persistence entries

within an active transaction the changes are identified automatically. Of course, you have to begin and commit ... you very much, for the explanation. I managed to get it working with beginning a transaction
Forum
1

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

.COMMIT ); if ( m_EntityManager.isOpen() ) { m_EntityManager.getTransaction().begin ... () && !m_DataKeysCache.isEmpty() ) { m_EntityManager.getTransaction().begin
Forum
1

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

.getTransaction().begin();         em.persist(new BooleanValue());         em.persist(new EnumValue ... .createEntityManager(); log_info("Persist project.."); em.getTransaction().begin(); em.persist