About begin

141-150 of 200Refresh
Forum
1

client server mod of communication

("objectdb:testmemory.mem");   EntityManager em = emf.createEntityManager();     em.getTransaction().begin();   gtr ... .getTransaction().begin();             strc = new SetterClass(1, "john"); em.persist(strc
Issue
1

I can't get cascading delete to work in JDO

.currentTransaction().begin();         persist(pm);         pm.currentTransaction().commit();         pm.currentTransaction().begin();         delete(pm);         pm.currentTransaction().commit
Forum
1

remove & persist in same transaction => Attempt to reuse an existing primary key value

"); em.getTransaction().begin(); EntityA entity = new EntityA(1); em.persist(entity); em.getTransaction().commit(); System.out.println("load and remove"); em.getTransaction().begin
Forum
0

@ElementCollection of type enum

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

@MappedSuperclass and @Transient not working as I expected

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

@Transient

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

[ObjectDB 2.4.1] Unexpected exception (Error 990)

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

Access entity version before commit transaction

: transactional.execute() just creates a transaction (entityManager.getTransaction().begin();) and commits
Forum
0

Activated ObjectDB still throws "Too many persistable types"

at the beginning of the file, which lead to an error). Yet I still get the error thrown. Nothing in
Forum
0

Activation Issue

> at the beginning of the file) and try restarting the server. If the server starts with no errors