Thanks! It works great now.

Made the changes in orion-ejb-jar.xml and any updates to the db by other
sources is pretty much updated instantly.

Does anyone knows if this feature is stated in the EJB standards?

Winston

----- Original Message -----
From: "Sven van 't Veer" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, November 24, 2000 2:25 AM
Subject: Re: DB changes not reflected in CMP bean.


>
>
> Winston Ng wrote:
> >
> > 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??
> Yes that is absolutely normal. You can however in orion-ejb.xml set
> exclusive-write-access="false" in <entity-deployment>.
>
> Sven
> --
>
============================================================================
==========
> Sven E. van 't Veer
> http://www.cachoeiro.net
> Java Developer             [EMAIL PROTECTED]
>
============================================================================
==========


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to