| Package | Description | 
|---|---|
| javax.sql | Provides the API for server side data source access and processing from
the JavaTM programming language. | 
| javax.transaction.xa | Provides the API that defines the contract between the transaction 
manager and the resource manager, which allows the transaction 
manager to enlist and delist resource objects (supplied by the 
resource manager driver) in JTA transactions. | 
| Modifier and Type | Method and Description | 
|---|---|
| XAResource | XAConnection. getXAResource()Retrieves an  XAResourceobject that
 the transaction manager will use
 to manage thisXAConnectionobject's participation in a
 distributed transaction. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | XAResource. isSameRM(XAResource xares)This method is called to determine if the resource manager
 instance represented by the target object is the same as the
 resouce manager instance represented by the parameter xares. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.