Hi All,
There are two questions
1>In case of multiple update and delete is the following approach correct:
first select records based on primary key. then update/delete record
one by one.
ie.
while(there are records)
{
   ejbFindByPrimaryKey()
   ejbStore()  /  ejbRemove()
}
I believe that the performance would be pathetic in the above case.Any
pointers of a better solution

2>I have an application in which some tables do not have primary keys
defined.In this case I would be unable to implement ejbFindByPrimaryKey()
though I could still declare the method with an empty body.
How should I handle Multiple Updates and Deletes in this case.

SANJAY Nambiar
> ITL Infosys (West)
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....."

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