Package com.mysql.cj.jdbc
Class MysqlXADataSource
java.lang.Object
com.mysql.cj.conf.DefaultPropertySet
com.mysql.cj.jdbc.JdbcPropertySetImpl
com.mysql.cj.jdbc.MysqlDataSource
com.mysql.cj.jdbc.MysqlXADataSource
- All Implemented Interfaces:
PropertySet
,JdbcPropertySet
,java.io.Serializable
,java.sql.Wrapper
,javax.naming.Referenceable
,javax.sql.CommonDataSource
,javax.sql.DataSource
,javax.sql.XADataSource
public class MysqlXADataSource extends MysqlDataSource implements javax.sql.XADataSource
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.mysql.cj.jdbc.MysqlDataSource
databaseName, description, encoding, explicitPort, explicitUrl, hostName, logWriter, mysqlDriver, password, port, profileSQLString, url, user
-
Constructor Summary
Constructors Constructor Description MysqlXADataSource()
Default no-arg constructor is required by specification. -
Method Summary
Modifier and Type Method Description javax.sql.XAConnection
getXAConnection()
javax.sql.XAConnection
getXAConnection(java.lang.String u, java.lang.String p)
Methods inherited from class com.mysql.cj.jdbc.MysqlDataSource
exposeAsProperties, getBooleanRuntimeProperty, getConnection, getConnection, getConnection, getDatabaseName, getDescription, getEnumRuntimeProperty, getIntegerRuntimeProperty, getLoginTimeout, getLogWriter, getLongRuntimeProperty, getMemorySizeRuntimeProperty, getParentLogger, getPassword, getPort, getPortNumber, getReference, getServerName, getStringRuntimeProperty, getUrl, getURL, getUser, isWrapperFor, setBooleanRuntimeProperty, setDatabaseName, setDescription, setEnumRuntimeProperty, setIntegerRuntimeProperty, setLoginTimeout, setLogWriter, setLongRuntimeProperty, setMemorySizeRuntimeProperty, setPassword, setPort, setPortNumber, setPropertiesViaRef, setServerName, setStringRuntimeProperty, setUrl, setURL, setUser, unwrap
Methods inherited from class com.mysql.cj.jdbc.JdbcPropertySetImpl
exposeAsDriverPropertyInfo, postInitialization
Methods inherited from class com.mysql.cj.conf.DefaultPropertySet
addProperty, getBooleanProperty, getBooleanProperty, getEnumProperty, getEnumProperty, getIntegerProperty, getIntegerProperty, getLongProperty, getLongProperty, getMemorySizeProperty, getMemorySizeProperty, getProperty, getProperty, getStringProperty, getStringProperty, initializeProperties, removeProperty, removeProperty, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
Methods inherited from interface com.mysql.cj.conf.PropertySet
addProperty, getBooleanProperty, getBooleanProperty, getEnumProperty, getEnumProperty, getIntegerProperty, getIntegerProperty, getLongProperty, getLongProperty, getMemorySizeProperty, getMemorySizeProperty, getProperty, getProperty, getStringProperty, getStringProperty, initializeProperties, postInitialization, removeProperty, removeProperty, reset
-
Constructor Details
-
MysqlXADataSource
public MysqlXADataSource()Default no-arg constructor is required by specification.
-
-
Method Details
-
getXAConnection
public javax.sql.XAConnection getXAConnection() throws java.sql.SQLException- Specified by:
getXAConnection
in interfacejavax.sql.XADataSource
- Throws:
java.sql.SQLException
-
getXAConnection
public javax.sql.XAConnection getXAConnection(java.lang.String u, java.lang.String p) throws java.sql.SQLException- Specified by:
getXAConnection
in interfacejavax.sql.XADataSource
- Throws:
java.sql.SQLException
-