public class LeakDetectorDataSource extends DataSourceWrapper
| Constructor and Description |
|---|
LeakDetectorDataSource(javax.sql.DataSource ds,
int stackStart,
int stackStop) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection() |
int |
listOpenConnections()
Goes through all open db connections and prints out the ones that are still
open.
|
getConnection, getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrappublic LeakDetectorDataSource(javax.sql.DataSource ds,
int stackStart,
int stackStop)
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class DataSourceWrapperjava.sql.SQLExceptionpublic int listOpenConnections()
throws java.sql.SQLException
java.sql.SQLException