public class TimesTenXADataSource extends TimesTenDataSource implements javax.sql.XADataSource, java.io.Serializable
| Constructor and Description |
|---|
TimesTenXADataSource()
Creates new XADataSource.
|
| Modifier and Type | Method and Description |
|---|---|
javax.sql.XAConnection |
getXAConnection()
This method is a required part of the
XADataSource interface. |
javax.sql.XAConnection |
getXAConnection(java.lang.String user, java.lang.String password)
This method is a required part of the
XADataSource interface. |
createTimesTenConnectionBuilder, createTimesTenDistributionKeyBuilder, getConnection, getConnection, getDescription, getLoginTimeout, getLogWriter, getOraclePassword, getParentLogger, getPassword, getUrl, getUser, isWrapperFor, setDescription, setLoginTimeout, setLogWriter, setOraclePassword, setPassword, setUrl, setUser, unwrapgetProtocol, getSubName, getSubProtocol, getSubProtocolType, isCSConnection, isDirectConnectionbytesToChars, charsToBytes, charsToBytes, hexPad, hexPairToInt, hexStringToByteArray, isConnectionBroken, toHexpublic TimesTenXADataSource()
public javax.sql.XAConnection getXAConnection()
throws java.sql.SQLException
XADataSource interface. Attempts to establish a physical database connection that can *be used in a distributed transaction.getXAConnection in interface javax.sql.XADataSourceXAConnection object, which represents a physical connection to a data source, that can be used in a distributed transactionjava.sql.SQLException - if a database access error occurspublic javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
XADataSource interface. Attempts to establish a physical database connection, using the given user name and password. The connection that is returned is one that can be used in a distributed transaction.getXAConnection in interface javax.sql.XADataSourceuser - the database user on whose behalf the connection is being madepassword - the user's passwordjava.sql.SQLException - if a database access error occurs