Home » Search

About begin

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

IN expression in a Criteria Query

();         em.getTransaction().begin();         em.persist(new MyEntity("a"));         em.persist(new ... ();         em.getTransaction().begin();         em.persist(new MyEntity("a"));         em.persist
Forum
1

@ElementCollection of type enum

();         em.getTransaction().begin();         MyEntity entity = new MyEntity();         entity.list
Forum
1

@MappedSuperclass and @Transient not working as I expected

().begin();   DataObject merged = em.merge(this);   em.getTransaction().commit();   em.close
Forum
1

@Transient

(Agency agency) {     odb.getTransaction().begin();     odb.persist(agency);     odb.getTransaction
Issue
1

[ObjectDB 2.4.1] Unexpected exception (Error 990)

.createEntityManager();         em.getTransaction().begin();         em.createQuery("DELETE o