Package com.mchange.v1.db.sql
Class DriverManagerDataSource
java.lang.Object
com.mchange.v1.db.sql.DriverManagerDataSource
- All Implemented Interfaces:
Serializable
,Wrapper
,Referenceable
,CommonDataSource
,DataSource
public class DriverManagerDataSource
extends Object
implements DataSource, Serializable, Referenceable
Deprecated.
use com.mchange.v2.c3p0.DriverManagerDataSource
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated. -
Constructor Summary
ConstructorDescriptionDriverManagerDataSource
(String jdbcUrl) Deprecated.DriverManagerDataSource
(String jdbcUrl, String dfltUser, String dfltPassword) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getConnection
(String username, String password) Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.boolean
isWrapperFor
(Class<?> iface) Deprecated.void
setLoginTimeout
(int seconds) Deprecated.void
setLogWriter
(PrintWriter out) Deprecated.<T> T
Deprecated.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
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
DriverManagerDataSource
Deprecated. -
DriverManagerDataSource
Deprecated.
-
-
Method Details
-
getConnection
Deprecated.- Specified by:
getConnection
in interfaceDataSource
- Throws:
SQLException
-
getConnection
Deprecated.- Specified by:
getConnection
in interfaceDataSource
- Throws:
SQLException
-
getLogWriter
Deprecated.- Specified by:
getLogWriter
in interfaceCommonDataSource
- Specified by:
getLogWriter
in interfaceDataSource
- Throws:
SQLException
-
setLogWriter
Deprecated.- Specified by:
setLogWriter
in interfaceCommonDataSource
- Specified by:
setLogWriter
in interfaceDataSource
- Throws:
SQLException
-
getLoginTimeout
Deprecated.- Specified by:
getLoginTimeout
in interfaceCommonDataSource
- Specified by:
getLoginTimeout
in interfaceDataSource
- Throws:
SQLException
-
setLoginTimeout
Deprecated.- Specified by:
setLoginTimeout
in interfaceCommonDataSource
- Specified by:
setLoginTimeout
in interfaceDataSource
- Throws:
SQLException
-
isWrapperFor
Deprecated.- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
Deprecated.- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
getReference
Deprecated.- Specified by:
getReference
in interfaceReferenceable
- Throws:
NamingException
-
getParentLogger
Deprecated.- Specified by:
getParentLogger
in interfaceCommonDataSource
- Throws:
SQLFeatureNotSupportedException
-