Home » Search

About clear

41-50 of 169Refresh
Forum
2

Entity not removed 100%

responsibility to clear references to removed objects. Cascading removal operates on the other direction and cannot clear references after removal. If you use bidirectional relationship then you only have to clear the owner side, the owned side will be cleared automatically after refresh
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
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

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

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

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
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

Class loading problem with private packages in OSGi environment

the private interface. Why is this necessary, is not clear to us. Correct way would ObjectDB use ... . Why is this necessary, is not clear to us. The ObjectDB type manager loads all the interfaces in order to support ... . The subject is clear. > What would be a good solution to this problem? Can you adapt or expand ObjectDB
Forum
2

Database size is much larger than expected (x2)

so many memory that it fails with "-Xmx1432m", even if em.clear() at every 0xFFF insertions ... ().commit();             em.clear();         }         em.close();         emf.close ... ());     System.out.printf("Url = %s%n%n", uri.getsUrl());     em.clear();     trans.begin
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