Hi,

I am using OJB 1.0.0 in Jboss [3.2.5] environment. The
PersistenceBrokerFactoryClass used is "PersistenceBrokerFactorySyncImpl". We
are using PB API and per broker cache.

I am having problem with the PB / JTA transactions. Below is the scenario:

I have two session beans. First session bean's method A is calling second
session bean's method B. The "trans-attribute" of method A is "Required" and
that of method B is "RequiresNew".

The method B updates a record in the database. This updated record is
fetched from database in method A after the call to method B.

But when we retrieve this record, we are getting the old values and not the
updated values.

I am under the assumption that once method B is completed, the data should
be committed to the database.

Is my assumption true? If so, then what could be the problem??

Thanks,
Sriki



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to