Ashish Deshpande <[EMAIL PROTECTED]> wrote :

-----

Hi,

I have a table called USER_MST in oracle database.
It has 30 columns. I just want to use insert,update and delete opertion.

I am not using any business logic.But I want to use the set ans get
methods.
Is it a good idea to make it as a entity bean?

------

I would  say yes. Using an entity bean with container-managed persistence will
avoid you writing all the JDBC stuff to do the insert, update and delete operations.
Moreover you will be able to integrate these operations in the transactions of
your application (if your application is OO and EJB based ...)

Regards,

François

-- 
==================================================================
Francois EXERTIER         Evidian (Groupe Bull)
     1, rue de Provence,  BP 208,  38432 Echirolles cedex, FRANCE
     mailto:[EMAIL PROTECTED]
     http://www.evidian.com/ejb/
     Tel: +33 (0)4 76 29 71 51  -  Fax:   +33 (0)4 76 29 76 00 
     PC: B1-319        Office: B1-316 
==================================================================
 


Reply via email to