Hi
The problem I have is that the tables have got all the rows having a high
interdependency on each other.
The business logic does not require a query by primary key and hence the
customer has not mentioned a primary key  for the table.
All queries are for multiple rows.....Hope u got the problem...I am not in a
position to change database design.I am using session bean and would like to
know a workaround for multiple updates and deletes

SANJAY Nambiar
> ITL Infosys
PUNE DC
> __________________________________________________
> Powered by intellect. Driven by values.
PH : 647420-21 EXTN : 2036 Mail Id  [EMAIL PROTECTED]
"Live out each day as if, it is the first day you have ever seen and the
last day you would ever see....."

> -----Original Message-----
> From: Karl-Fredrik Blixt [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 11, 1999 5:13 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Multiple Updates and Deletes
>
> Sanjay Nambiar wrote:
> >
> > I have an application in which a couple of tables simply do not have
> primary
> > keys.The ejb spsecifications state that one should have a method
> > corresponding to ejbfindbyprimarykey().
> > In this case I would be unable to implement ejbFindByPrimaryKey() though
> I
> > could still declare the method with an empty body.
> >
> May I ask how you expect to separate the table into entities if you cannot
> search for them in any way? Think through how you would logically find
> separate
> entities in the table, and I bet you either find a primary key (remember
> that
> you can use several columns for a primary key) or you find that you cannot
> distinguish between entities (and should instead aggregate in some way
> using a
> session bean or something else).
>
> regards
> /Kalle Blixt
> --
> "Fur coats made for ladies from their own skin." (That has got to hurt)
> Karl-Fredrik Blixt
> Computer Science student at LiTH, Sweden
> Homepage: http://travel.to/kp
> Telephone: +46-(0)13-17 99 29
> Cellular: +46-(0)739-87 11 03
> ICQ: 4744258
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to