|
Is there a way to debug the
DriverManagerConnectionPoolConnection so I can detect where it happens? I know
that a few places where I used the
try {
conn =
getConn();
stmt =
conn.prepareStatement();
rs =
stmt.executeQuery();
}catch (SQLException sqle) {
}finally {
try {
rs.close();
stmt.close();
conn.close();
}catch (SQLException sqle)
{
}
}
one of the close() are throwing an exception and
therefore the conn is not closed. I'd like to have
DriverManagerConnectionPoolConnection to tell me where I did this dreadful
mistake.
regards
Johan Fredriksson
|
- Re: DriverManagerConnectionPoolConnection not closed..... Johan Fredriksson
- Re: DriverManagerConnectionPoolConnection not clo... Daniel G. Koulomzin
- Re: DriverManagerConnectionPoolConnection not... Johan Fredriksson
