Freigeben über


getXAConnection Method (java.lang.String, java.lang.String)

Tries to establish a physical database connection using the given user name and password.

public javax.sql.XAConnection getXAConnection(java.lang.String user,
                                              java.lang.String password)

Parameter

user

A String that contains the user name.

password

A String that contains the password.

Rückgabewert

An XAConnection object.

Ausnahmen

java.sql.SQLException

Hinweise

This getXAConnection method is specified by the getXAConnection method in the javax.sql.XADataSource interface.

Hinweis

This method is typically called by XA connection pool implementations and not by regular JDBC application code.

Siehe auch

Referenz

SQLServerXADataSource Class

Konzepte

getXAConnection Method (SQLServerXADataSource)
SQLServerXADataSource Methods
SQLServerXADataSource Members