|
|||||||||
| 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 DataSourceSQLException
public Connection getConnection(String username,
String password)
throws SQLException
getConnection in interface DataSourceSQLException
public PrintWriter getLogWriter()
throws SQLException
getLogWriter in interface CommonDataSourceSQLException
public void setLogWriter(PrintWriter out)
throws SQLException
setLogWriter in interface CommonDataSourceSQLException
public int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourceSQLException
public void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface CommonDataSourceSQLException
public boolean isWrapperFor(Class<?> iface)
throws SQLException
isWrapperFor in interface WrapperSQLException
public <T> T unwrap(Class<T> iface)
throws SQLException
unwrap in interface WrapperSQLException
public Reference getReference()
throws NamingException
getReference in interface ReferenceableNamingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||