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]

Reply via email to