Transaction Inflow
As defined by section 14 of the JCA 1.5 specification a resource adapter may perform work as part of an external transaction.
By default, any work performed by the JEE connection will be committed or rolled back as part of the enclosing jBC transaction. No configuration beyond declaring TRANSTART or TRANSEND is required. A JEE connection will be enlisted as soon as it is created if a transaction is already active, and all existing JEE connections will be enlisted when a TRANSTART is issued.
Only the work carried out after transaction enlistment will be performed as part of the transaction. Any work performed on a JEE connection before a TRANSTART will be auto committed. It is also important to note that the imported jBC transaction will respect the declared EJB transaction attributes.
As defined by the X/Open specification it is permissible to commit all the work completed by the resource adapter in a one phase commit.
In this topic