此内容没有您所选择的语言版本。
4.5. XA Transactions
If the requesting application can participate in XA transactions, then your
Connection
object must override the getXAResource()
method and provide the XAResource
object for the application. To participate in crash recovery you must also extend the BasicResourceAdapter
class and implement the public XAResource[] getXAResources(ActivationSpec[] specs)
method.
JBoss Data Virtualization can make XA-capable resource adapters participate in distributed transactions. If they are not XA-capable, the datasource can participate in distributed queries but not distributed transactions. Transaction semantics are determined by how you configured "connection-factory" in a "resource-adapter" (that is, jta=true/false).