Class MySQLDataSource
java.lang.Object
org.mariadb.jdbc.MariaDbDataSource
org.mariadb.jdbc.MySQLDataSource
- All Implemented Interfaces:
Wrapper, CommonDataSource, ConnectionPoolDataSource, DataSource, XADataSource
Deprecated.
use class MariaDbDataSource directly
Keep the class name for compatibility
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor.MySQLDataSource(String url) Deprecated.MySQLDataSource(String hostname, int port, String database) Deprecated.Constructor. -
Method Summary
Methods inherited from class MariaDbDataSource
getConnection, getConnection, getDatabaseName, getLoginTimeout, getLogWriter, getParentLogger, getPooledConnection, getPooledConnection, getPort, getPortNumber, getServerName, getUrlParser, getUser, getUserName, getXAConnection, getXAConnection, initialize, isWrapperFor, setDatabaseName, setLoginTimeout, setLogWriter, setPassword, setPort, setPortNumber, setProperties, setServerName, setUrl, setUser, setUserName, unwrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommonDataSource
createShardingKeyBuilderMethods inherited from interface ConnectionPoolDataSource
createPooledConnectionBuilderMethods inherited from interface DataSource
createConnectionBuilderMethods inherited from interface XADataSource
createXAConnectionBuilder
-
Constructor Details
-
MySQLDataSource
-
MySQLDataSource
Deprecated. -
MySQLDataSource
public MySQLDataSource()Deprecated.Default constructor. hostname will be localhost, port 3306.
-