- Posted by: ramakrishna kalavendi
- Posted on: December 01 2000 00:27 EST
how to update/delete a record in database through entity bean(CMP). whether we have to write the business methods or methods in home interface.
waiting for reply...
- how to update/delete a record in entity bean (CMP) by K V S Subrahmanyam K V S on December 01 2000 05:41 EST
u need not write anything if u uses CMP.
try to use ur get/set methods (on remote reference) to update the fields in ur entity bean.
then the containar will automatically updates it into the database.
to insert a recode use ejbcreate.
to delete a record u can use ejbremove.