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

Reply via email to