Karl Koster
Sent: 19 September 2001 16:51
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] EJB Entity design question: Can ejbRemove() be
used to modify a row in the DB?
Adam,
Even better, if you are using BMP and we are talking about an SQL storage
facility, construct your SQL to only
re dealing
with wide rows, since the ResultSet will be null if no data is returned.
Karl.
> -Original Message-
> From: Joost v.d. Wijgerd [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 19, 2001 11:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] EJB En
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: JB
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
> 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 appl