persistence@glassfish.java.net

Re: Clear All

From: Markus KARG <markus.karg_at_gmx.net>
Date: Mon, 28 Jan 2008 20:24:45 +0100

Adam,

I cannot deliver a solution but I am curious why one wants to clear the
cache? Or do you mean invalidating it (i. e. force a complete reload)?

Thanks
Markus

Adam Bien schrieb:
> Hello,
>
> is it possible to clear all entities in the TopLink Caches? The method
> EntityManager::clear() expects an Entity as an argument - so you have
> to hold all attached entities which have to have cleared (which is
> hard in the practice).
>
> I know this functionality is proprieatary and not a part of the JPA
> standard. Is there a way in TopLink Essentials to clear all entities
> in the second level cache?
>
> thank you in advance,
>
> regards,
>
> adam
>
>


-- 
http://www.xing.com/go/invita/58469