getXAConnection Method ()
Tries to establish a physical database connection that can be used in a distributed transaction.
Syntax
public javax.sql.XAConnection getXAConnection()
Return Value
An XAConnection object.
Exceptions
java.sql.SQLException
Remarks
This getXAConnection method is specified by the getXAConnection method in the javax.sql.XADataSource interface.
Note
This method is typically called by XA connection pool implementations and not by regular JDBC application code.
See Also
getXAConnection Method (SQLServerXADataSource)
SQLServerXADataSource Methods
SQLServerXADataSource Members
SQLServerXADataSource Class
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for