This content has been marked as final. Show 1 reply
Not in general, from the jca 1.5 spec:
220.127.116.11 Auto Commit
When a connection is in an auto-commit mode, an operation on the connection automatically commits after it has been executed. The auto-commit mode must be off if multiple interactions have to be grouped in a single transaction, either local or XA, and committed or rolled back as a unit. A resource adapter must manage the auto-commit mode as follows:
o A transactional resource adapter, either at XATransaction or LocalTransaction level, must set the auto-commit mode to false within a transaction, either local or XA, on a connection participating in the transaction. This requirement holds for both container-managed and bean-managed transaction demarcation.
o A transactional resource adapter must set the auto-commit mode to true, on connections that are used outside a transaction.