persistence@glassfish.java.net

Re: Clear All

From: Adam Bien <abien_at_adam-bien.com>
Date: Mon, 04 Feb 2008 13:01:37 +0100

Hi Markus,

not reloading, just clearing. New objects will be loaded on demand then...
I don't like the idea either - but it is a valid requirement...

I have fun :-).

regards,

adam
Markus KARG schrieb:
> Adam,
>> The Use Case: your customer would like to reload all object from the
>> database and you have so to invalidate / reload all objects.
> But why should someone want to reload ALL? I mean, what happened to
> the database that justifies such a performance penalty?
>
> Have Fun
> Markus
>