Home » Search

About clear

41-50 of 163 Refresh
Forum
2

Several parallel threads to speed up query on one DB

used to do a clear after running each query - The lock contention disappears when I removed the "em. clear()" - Obviously I need to clear the entity managers - it looks like the em. clear() of one query
Forum
2

Soft Reference Object Cache Recommendation

public void jdoPreClear(){ if(null != softReferenceData) softReferenceData. clear ... ) softReferenceData. clear(); softReferenceData = null; } @Override public void jdoPostLoad ... softReferenceData. if(null != softReferenceData) softReferenceData. clear
Forum
2

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

_EntityManager. clear(); m_EntityManager.close(); } After executing code above (write a 10-15 ... ); } m_EntityManager.getTransaction().commit(); m_DataKeysCache. clear(); m_EntityManager.flush(); m_EntityManager. clear(); } When we completed import data to database
Forum
2

Merge Issue: Attempt to reuse an existing primary key value

("child1"));         em.merge(e1);         em.getTransaction().commit();         em. clear ... (e2);         em.getTransaction().commit();         em. clear();         em.close ... ();         Assert.assertEquals(2, resultList.size());         em. clear();         emf.close
Forum
2

Left join fetch behaviour doesn't retrieve children?

();         em. clear();         em.close();         // Try to retrieve parent and children using ... .getTransaction().commit();   em. clear();   em.close();   // Try to retrieve parent and children ... check if children are retrieved   em. clear();   em.close();   emf.close();   if (myEntity
Result
2

ObjectDB version 2.4.2

implementation (removed temporary object clearing). Fixed the Explorer to show null values in primitive fields (unset values in new fields) correctly. Fixed a bug in clearing embedded objects during merge. Added automatic cascading through embedded objects. Fixed a bug in clearing persistent properties
Forum
2

Dirty checking

are clear. Why should you roll back that view transaction, what is the purpose of comitting it? Note ... all the details are clear. Why should you roll back that view transaction, what is the purpose of comitting it? I ... , and with your detailed explanations it is clear now why you need another transaction. Note that you have to enable
Forum
2

First query takes 4+ minutes to complete

clearing the EntityManager cache before running the query to see if we can reproduce the problem ... behavior with the the following code (note, em. clear() at the start of the method, where em is an instance of an EntityManager): public List getExtensionByDate() { em. clear(); // TODO
Forum
2

Is there a function of "drop table" or "delete from table"?

! "drop table" or "delete from table" or "truncate" can clear the id counting. Any idea? Resetting ... ) have explicit names. I agree, would be really useful to be able to clear a database during testing ... was wondering if there is any way to get a list of the entity names in the database?     Clearing
Issue
2

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

-shot builder to clear lazy builder method triggers. */ private void reset ... -shot builder to clear lazy builder method private triggers. */ private void reset