No, but you can clear the cache with an appropriate call to the container
MBean.

> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Dain
> Sundstrom
> Envoye : dimanche, 28 juillet 2002 02:02
> A : [EMAIL PROTECTED]
> Objet : Re: [JBoss-user] Deleting all records
>
>
> I don't think you can change the commit option of a running entity.
>
> -dain
>
> Boris Tamarkin wrote:
> > 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
> >  >  >
> >  >
> >
>
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxx
> Dain Sundstrom
> Chief Architect JBossCMP
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
>
>
>
>
> -------------------------------------------------------
> 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
>



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