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
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDriverManagerDataSource(String jdbcUrl) Deprecated.DriverManagerDataSource(String jdbcUrl, String dfltUser, String dfltPassword) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getConnection(String username, String password) Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.booleanisWrapperFor(Class<?> iface) Deprecated.voidsetLoginTimeout(int seconds) Deprecated.voidsetLogWriter(PrintWriter out) Deprecated.<T> TDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilderMethods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
DriverManagerDataSource
Deprecated. -
DriverManagerDataSource
Deprecated.
-
-
Method Details
-
getConnection
Deprecated.- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getConnection
Deprecated.- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getLogWriter
Deprecated.- Specified by:
getLogWriterin interfaceCommonDataSource- Specified by:
getLogWriterin interfaceDataSource- Throws:
SQLException
-
setLogWriter
Deprecated.- Specified by:
setLogWriterin interfaceCommonDataSource- Specified by:
setLogWriterin interfaceDataSource- Throws:
SQLException
-
getLoginTimeout
Deprecated.- Specified by:
getLoginTimeoutin interfaceCommonDataSource- Specified by:
getLoginTimeoutin interfaceDataSource- Throws:
SQLException
-
setLoginTimeout
Deprecated.- Specified by:
setLoginTimeoutin interfaceCommonDataSource- Specified by:
setLoginTimeoutin interfaceDataSource- Throws:
SQLException
-
isWrapperFor
Deprecated.- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
Deprecated.- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
getReference
Deprecated.- Specified by:
getReferencein interfaceReferenceable- Throws:
NamingException
-
getParentLogger
Deprecated.- Specified by:
getParentLoggerin interfaceCommonDataSource- Throws:
SQLFeatureNotSupportedException
-