Hi Jaydeep,

Even with CMP it is possible i guess. Actually this is what i did...

1) created cmpaddressbook table in oracle DB
2) deployed cmpaddressbookbean
3)started application
4) Inserted one record using cmpaddressbookbean (java client)- works fine
5) renamed cmpaddressbook to cmpaddressbooktab;
6)create view cmpaddressbook as select * form cmpaddressbooktab;
7) Inserted one record using cmpaddressbookbean (java client)- works fine

8)stoped appserver(Websphere 5.0)
9)started appserver
10) Inserted one record using cmpaddressbookbean (java client)- works fine

Thanks
Sami




             Jaydeep Nargund
             <[EMAIL PROTECTED]
             OTMAIL.COM>                                                To
             Sent by: A                [EMAIL PROTECTED]
             mailing list for                                           cc
             Enterprise
             JavaBeans                                             Subject
             development               Re: Is it possible to create entity
             <[EMAIL PROTECTED]         bean against DB View?
             A.SUN.COM>


             07/01/2003 09:52
             PM


             Please respond to
              Jaydeep Nargund
             <[EMAIL PROTECTED]
                OTMAIL.COM>






Hi,
   Yes, If you are using BMP you can create an entity bean for the view.
All
you need to implement is the ejbLoad method.

Regards,
Jaydeep Nargund

>-----Original Message-----
>From: Saravana [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, July 01, 2003 5:27 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Is it possible to create entity bean against DB View?
>
>hi ,
>
>No, as per my knowledge it is not possible to create an Entity Bean with a
>DB View.
>
>Thanks
>
>----- Original Message -----
>From: "Saminathan Seerangan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, July 01, 2003 3:36 PM
>Subject: Is it possible to create entity bean against DB View?
>
>
> > Hi All,
> >
> > Is it possible to create entity bean against DB View?
> >
> > Thanks in advance
> > Sami
> >
> >
>===========================================================================

> > 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".
>
>
>The information transmitted is intended only for the person or entity to
>which it is addressed and may contain confidential, proprietary, and/or
>privileged material. Any review, retransmission, dissemination or other
use
>of, or taking of any action in reliance upon this information by persons
or
>entities other than the intended recipient is prohibited. If you received
>this email in error, please contact the sender and delete the material
from
>all computers.
>
>===========================================================================

>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".
>

_________________________________________________________________
Reconnect with old pals. Relive the happy times.
http://www.batchmates.com/msn.asp With just one click.

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