Hi,
Have a setter method in the bean like setName(String name) when u want to
upate use findByXXX() and then call the setName(newName)  with the new
value.

Hope this helps.



Chandra Sekaran.V,
Software Developer,
Wisor Telecom India Pvt Ltd,
Bangalore

[EMAIL PROTECTED]
Ph : 091-80-5525821 x 4217

----- Original Message -----
From: Sivakumar_Subramanian <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 11:54 AM
Subject: BMP or CMP???


> Hi,
>         I want to update the DB thru some EJB Calls.
> Whether i can have update statements in CMP? How it should be done. ? pls
> help. or i should go for BMP? Which is preferable? bye
>
> advance thanx.
> sivakumar
>
>
===========================================================================
> 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