Internal Website Search

21-27 of 27 resultsRefresh

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

= em .createNamedQuery("numberOfMapItems"); q. setFlushMode (FlushModeType.AUTO); try { long l = (Long

Remove a modified entity cause an optimistic lock exception

= emf.createEntityManager();         em. setFlushMode

Spring Transactions (@Transactional) within ObjectDB

the EntityManager :     em. setFlushMode (FlushModeType.AUTO); support Support I think I

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

(); em. setFlushMode (FlushModeType.AUTO); System.out.println("create and persist"); em.getTransaction

Upgrade to Java 8 won't run

.createEntityManagerFactory (dbName) em = emf.createEntityManager() em. setFlushMode (FlushModeType.AUTO) ObjectDB

Should derived fields of an EmbeddedId be manually maintained by app code?

"); q.setParameter("container", this); q. setFlushMode (FlushModeType.AUTO); try { long l = (Long) q

Sometimes cascade persist does not work during commit

.createEntityManagerFactory("objectdb:./db.tmp"); EntityManager em = emf.createEntityManager(); em. setFlushMode