XADataSource (Java SE 26 & JDK 26)
- All Superinterfaces:
CommonDataSource
-
Method Summary
Creates a new
XAConnectionBuilderinstanceintGets the maximum time in seconds that this data source can wait while attempting to connect to a database.
Retrieves the log writer for this
DataSourceobject.Attempts to establish a physical database connection that can be used in a distributed transaction.
Attempts to establish a physical database connection, using the given user name and password.
voidsetLoginTimeout(int seconds) Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
voidSets the log writer for this
DataSourceobject to the givenjava.io.PrintWriterobject.
-
Method Details
-
getXAConnection
-
getXAConnection
-
getLogWriter
-
setLogWriter
-
setLoginTimeout
-
getLoginTimeout
-
createXAConnectionBuilder
-