which version do you use?
If you use rc6 or CVS did you try to use PersistenceBrokerFactorySyncImpl as PersistenceBrokerFactory in OJB.properties file (if you only use the PB-api)?
regards, Armin
[EMAIL PROTECTED] wrote:
Hi,
I want to use batchMode in a stateless session bean (B) which is called from a message driven bean (A). The transaction is started from bean A. Both use container transaction 'Required'.
Bean B: PersistenceBroker broker = PersistenceBrokerFactory.createPersistenceBroker(pbKey); broker.serviceConnectionManager().setBatchMode(true);
// broker.beginTransaction();
.... some inserts ...
// broker.commitTransaction();
broker.close();
If I call begin and commitTransaction everything works fine, but this doesn't make sense in a managed environment. If I don't call it, nothing happens.
Thanks in advance for your reply. Andreas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
