|
|||||||||
| 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(java.lang.String jdbcUrl)
Deprecated. |
|
DriverManagerDataSource(java.lang.String jdbcUrl,
java.lang.String dfltUser,
java.lang.String dfltPassword)
Deprecated. |
|
| Method Summary | ||
|---|---|---|
java.sql.Connection |
getConnection()
Deprecated. |
|
java.sql.Connection |
getConnection(java.lang.String username,
java.lang.String password)
Deprecated. |
|
int |
getLoginTimeout()
Deprecated. |
|
java.io.PrintWriter |
getLogWriter()
Deprecated. |
|
javax.naming.Reference |
getReference()
Deprecated. |
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
Deprecated. |
|
void |
setLoginTimeout(int seconds)
Deprecated. |
|
void |
setLogWriter(java.io.PrintWriter out)
Deprecated. |
|
|
unwrap(java.lang.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(java.lang.String jdbcUrl,
java.lang.String dfltUser,
java.lang.String dfltPassword)
public DriverManagerDataSource(java.lang.String jdbcUrl)
| Method Detail |
|---|
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcejava.sql.SQLException
public java.sql.Connection getConnection(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcejava.sql.SQLException
public java.io.PrintWriter getLogWriter()
throws java.sql.SQLException
getLogWriter in interface javax.sql.DataSourcejava.sql.SQLException
public void setLogWriter(java.io.PrintWriter out)
throws java.sql.SQLException
setLogWriter in interface javax.sql.DataSourcejava.sql.SQLException
public int getLoginTimeout()
throws java.sql.SQLException
getLoginTimeout in interface javax.sql.DataSourcejava.sql.SQLException
public void setLoginTimeout(int seconds)
throws java.sql.SQLException
setLoginTimeout in interface javax.sql.DataSourcejava.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
java.sql.SQLException
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||