Show TOC

Background documentationResource Adapter Transaction Support Locate this document in the navigation structure

 

The transaction support defines whether the resources provided by this resource adapter can be enlisted in transactions, and whether they support enlistment in local or global transactions. This information is stored in the standard deployment descriptor of the resource adapter (ra.xml).

Features

You can set tree values for the transaction support type:

  • NoTransaction — this denotes that the resource adapter does not support transactions

  • LocalTransaction — the resource adapter only supports local transactions

  • XATransaction — the resource adapter supports both local and distributed transactions

Syntax Syntax

  1. <transaction-support>NoTransaction</transaction-support>
    <transaction-support>LocalTransaction</transaction-support>
    <transaction-support>XATransaction</transaction-support>
    
End of the code.