getXAConnection Method (java.lang.String, java.lang.String)
Tries to establish a physical database connection using the given user name and password.
Syntax
public javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
Parameters
user
A String that contains the user name.
password
A String that contains the password.
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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om