Hello, I have following problem with OJB and PersitenceBrokerFactorySyncImpl in a managed environment:
I have two EJBs ( EJB_A and EJB_B), both with transaction = 'Required'. Both EJBs works with OJB in BatchMode=true. If EJB_A calls EJB_B, EJB_B returns and after this EJB_A does some inserts, this inserts are not commited. After EJB_B closes the PersistenceBroker following happens: PersistenceBrokerFactorySyncImpl::close() is called. this calles ConnectionManagerImpl::localCommit() only if localTransaction == true. Than ConnectionManagerImpl::releaseConnection() is called and everything works fine. But after this EJB_A close the PB, PersistenceBrokerFactorySyncImpl::close () doesn't call localCommit, because localTransaction is false. Both EJBs use the same Broker and EJB_B set localTransaction to false, so executeBatch() is never called for the statements of EJB_A. Thanks for your help, Andreas Bayer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
