Internal Website Search

11-20 of 27 resultsRefresh

Update more than 10000 entities by an update query fails

.createEntityManager(); emOne.getTransaction().begin(); emOne. setFlushMode (FlushModeType.AUTO ... .createEntityManager(); emTwo.getTransaction().begin(); emTwo. setFlushMode (FlushModeType.AUTO); { String query ... emThree = emf.createEntityManager(); emThree.getTransaction().begin(); emThree. setFlushMode

Entity has be persistended,but query not fetched?

. setFlushMode (FlushModeType.AUTO); query.getResultList();   maozf maozf The following example ... ;   query. setFlushMode (FlushModeType.AUTO);        

Empty temporary dat files in the temp folder

.createEntityManagerFactory(db + ";drop");   EntityManager em = emf.createEntityManager();   em. setFlushMode ... .createEntityManager();   em. setFlushMode (FlushModeType.AUTO);   em.getTransaction().begin();  

Exception on creation when running multithreaded

also had: typedQuery. setFlushMode (FlushModeType.AUTO); for the specific query.   If I change the logic

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

_EntityManager = m_EntityMgrFactory.createEntityManager(); m_EntityManager. setFlushMode ( FlushModeType.COMMIT

Database(*.odb) file size on disk

. setFlushMode (FlushModeType.AUTO);   int objects = 1000;   int loops = 3;   for (int iteration = 0; iteration

Is it possible to remove parent/child entities without refresh?

();   entityManager. setFlushMode (FlushModeType.AUTO);   return entityManager; } private static

Merge with Parent/Child entities not possible

; EntityManager entityManager = emf.createEntityManager();   entityManager. setFlushMode (FlushModeType.AUTO

Query for objects persisted within the same transaction

/java/jpa/query/setting#Flush_Mode_ setFlushMode support Support Thanks, The part about performance in

Tracking changes to new collections (in enhancement mode) after flush

.createEntityManager(); em. setFlushMode (FlushModeType.AUTO); em.getTransaction().begin(); ModelElementImpl ... .createEntityManager(); em. setFlushMode (FlushModeType.AUTO); em.getTransaction().begin ... (); em. setFlushMode (FlushModeType.AUTO); em.getTransaction().begin