About clear

31-40 of 177Refresh
JDO Doc
3

getPersistenceManagerProxy()

closes the PersistenceManager and then clears the ThreadLocal. Use of this method does not affect
JDO Doc
3

javax.jdo.listener.InstanceLifecycleEvent

.0 int CLEAR Since: JDO 2.0 int CREATE Since: JDO 2.0 int DELETE Since: JDO 2.0 int DETACH Since: JDO
JDO Doc
3

javax.jdo.PersistenceManagerFactory

the PersistenceManager and then clears the ThreadLocal. Use of this method does not affect
Issue
3

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear() after a transaction commit. When the clear() method isn't called the entityManager will never return ... UPDATE-Query, calling entityManger.clear() and fetching Entities afterwards from database. Expected
JDO Doc
3

setExtensions(extensions)

Method javax.jdo.Query void setExtensions(   Map extensions ) Set multiple extensions, or use null to clear all extensions. Map keys and values are not standard. An implementation must ignore entries that are not recognized. Parameters: extensions - the map of extensions Since: JDO 2.0 See Also: addExtension
Issue
3

Best practise loading big data

only operation, do you really need commit? maybe you can use rollback or clear instead of commit ... to rollback or just to clear then we can do that instead. Thanks for this hint! Yes, only enhanced classes ... expect performance improvements with rollback / clear, although it makes more sense to use
Forum
2

OutofMemory error with Object DB 2.0

released on commit automatically. This could be solved by calling JPA's clear or similar methods ... have to close PM with every commmit). This shows that the objects are only cleared from heap ... and advice. Thanks Madhu The cause of the problem is still unclear. As a workaround, try clearing
Forum
2

What algorithm in find()

? Slow commit might be the result of not using enhancement and not calling clear. Please check ... that become larger and larger because of not using clear and classes that are not enhanced. Hi, clear ... they? If the managed entities are cleared, then the cache looks useless, right? How do I
Forum
2

Updating Entities

but was less clear from post #1) then there is no need for a test case as the situation is clear ... query that is actually more the SQL way than the JPA way. Clear the internal EntityManager cache by using clear after an UPDATE query and before retrieval or a specific object using refresh, and disable
Forum
2

Upgrade to 2.4.1_03

is: [ObjectDB 2.4.1_03] javax.persistence.PersistenceException Failed to clear field property com ... .RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: com.objectdb.o.UserException: Failed to clear ... clearing the new constructed object. In this specific test case clearing the domain field to null