You'll have ghosts in the cache.

Boris Tamarkin wrote:
> Dain,
> Could You please explain why You don't recommend to "delete all" with 
> option A?
> 
> Thanks,
>      Boris
> 
> Date: Tue, 23 Jul 2002 23:06:08 -0500
> From: Dain Sundstrom <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Deleting all records
> Reply-To: [EMAIL PROTECTED]
> 
> I don't know of any other way then executing "DELETE FROM BLAH".  I
> don't recomend you try this in commit option A.
> 
> -dain
> 
> Dimitri PISSARENKO wrote:
>  > Hello!
>  >
>  > How can one delete all records of a certain table (when using CMP
>  > beans) ?
>  >
>  > Is calling "findAll" and then "remove" for each record the only
>  > choice? Isn't there a more elegant solution?
>  >
>  > Thanks
>  >
>  > Dimitri Pissarenko
>  >
> 





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to