About FlushModeType

31-36 of 36Refresh
Forum
2

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

.Entity; import javax.persistence.EntityManager; import javax.persistence.FlushModeType; import ... .setParameter("container", this); q.setFlushMode(FlushModeType.AUTO); try { long l = (Long) q
Forum
2

Visibility of changes in Transaction is not visible to a JPA QL Query

to FlushModeType.AUTO meant that the added items are 'visible' However if I Query for an Item that I ... - FlushModeType.AUTO is specified. You are right! I was doing a count with the flush mode auto on... If I
Issue
2

Sometimes cascade persist does not work during commit

.setFlushMode(FlushModeType.AUTO); em.getTransaction().begin(); em.createQuery ... (FlushModeType.AUTO); em.getTransaction().begin(); Query query = em.createQuery
Forum
2

Exception on creation when running multithreaded

.setFlushMode(FlushModeType.AUTO); for the specific query.   If I change the logic and don't query before
Forum
2

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

_EntityManager = m_EntityMgrFactory.createEntityManager(); m_EntityManager.setFlushMode( FlushModeType
Forum
2

Upgrade to Java 8 won't run

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