You need to set "exclusive-write-access" to "true" (this slows the CMP down
because it checks the DB before every operation for a write).
-mike
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jarek Skreta
> Sent: Friday, November 24, 2000 8:49 PM
> To: Orion-Interest
> Subject: RE: DB changes not reflected in CMP bean.
>
>
> This is a very interesting question. A lot of sources claim that
> the update
> of beans should be automatic. Otherwise how would you connect the
> application to any legacy database system which can be updated
> bypassing the
> beans.
> We've just only started with Orion so I don't know the answer yet but will
> do some research.
>
> Also a kind request: could you tell us what needs to be done to connect
> Oracle to Orion (we run 8.1.5 on NT)?
> Many thanks,
>
> Jarek
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Winston Ng
> > Sent: 23 November 2000 20:12
> > To: Orion-Interest
> > Subject: DB changes not reflected in CMP bean.
> >
> >
> > Hi All,
> >
> > This is more of an EJB question.
> >
> > I wrote a simple app using a CMP bean that talks to an Oracle DB.
> >
> > Started the server and was able to get/set information to the bean and
> > subsequently see the changes in the DB.
> >
> > However, if I make any updates to the DB from sqlplus and commit the
> > changes, they are not reflected in the Entity bean! The changes are only
> > reflected if I restart Orion.
> >
> > Is this normal? What should I do to have the bean reflect changes in the
> > database? Is that what BMP bean is for??
> >
> > Thanks for any help.
> > Winston Ng.
> >
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
>
>
>