Title: Re: [JBoss-user] Deleting all records

In this case can we change commit option on the fly in run time.
I.E. before command "delete all" make commit option "B", at the end change back to "A"?
Otherwise it makes option "A" not usable in production environment

Boris


Date: Wed, 24 Jul 2002 12:25:38 -0500
From: Dan Christopherson <[EMAIL PROTECTED]>
To:  [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Deleting all records
Reply-To: [EMAIL PROTECTED]

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

Reply via email to