Yes, The beans use BMP. 

Sorry I forgot to mention that :-)

Adam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Maurice le
Rutte
Sent: 18 September 2001 13:28
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] EJB Entity design question: Can ejbRemove() be
used to modify a row in the DB?


> I have several entity EJB's that model database tables.
> Rows in the tables are never physically deleted, but rather they are
> logically deleted by setting a "obsolete_indicator" column "Y".
>
> Can I use ejbRemove() to simply modify the row (setting this flag to "Y")
or
> will this break application server caching? Are there any other reasons
why
> I should not use ejbRemove()?
I can't answer this, but I assume you are not using CMP? Otherwise your
beans would still be accessible with findByPrimaryKey.

Maurice.




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to