Hi,

If you are using BMP this is perfectly valid, then in the
ejbFindByPrimaryKey
you throw an ObjectNotFoundException when the "obsolete_indicator"
column says "Y"

Joost.

-----Original Message-----
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 1:45 PM
To: JBoss User Mailing List
Subject: [JBoss-user] EJB Entity design question: Can ejbRemove() be
used to modify a row in the DB?


Folks,


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()?


Thanks in advance....


Adam


_______________________________________________
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