|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mchange.v1.db.sql.DriverManagerDataSource
public class DriverManagerDataSource
Nested Class Summary | |
---|---|
static class |
DriverManagerDataSource.DmdsObjectFactory
Deprecated. |
Constructor Summary | |
---|---|
DriverManagerDataSource(String jdbcUrl)
Deprecated. |
|
DriverManagerDataSource(String jdbcUrl,
String dfltUser,
String dfltPassword)
Deprecated. |
Method Summary | ||
---|---|---|
Connection |
getConnection()
Deprecated. |
|
Connection |
getConnection(String username,
String password)
Deprecated. |
|
int |
getLoginTimeout()
Deprecated. |
|
PrintWriter |
getLogWriter()
Deprecated. |
|
Reference |
getReference()
Deprecated. |
|
boolean |
isWrapperFor(Class<?> iface)
Deprecated. |
|
void |
setLoginTimeout(int seconds)
Deprecated. |
|
void |
setLogWriter(PrintWriter out)
Deprecated. |
|
|
unwrap(Class<T> iface)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriverManagerDataSource(String jdbcUrl, String dfltUser, String dfltPassword)
public DriverManagerDataSource(String jdbcUrl)
Method Detail |
---|
public Connection getConnection() throws SQLException
getConnection
in interface DataSource
SQLException
public Connection getConnection(String username, String password) throws SQLException
getConnection
in interface DataSource
SQLException
public PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
SQLException
public void setLogWriter(PrintWriter out) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
public void setLoginTimeout(int seconds) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |