TeStereo report
/**
* DBCP-343 - verify additional operations reset lastUsed on
* the parent connection
*/
@Test public void testLastUsedUpdate() throws Exception {
DelegatingConnection> conn=(DelegatingConnection>)ds.getConnection();
PreparedStatement ps=conn.prepareStatement("");
CallableStatement cs=conn.prepareCall("");
Statement st=conn.prepareStatement("");
checkLastUsedStatement(ps,conn);
checkLastUsedPreparedStatement(ps,conn);
checkLastUsedStatement(cs,conn);
checkLastUsedPreparedStatement(cs,conn);
checkLastUsedStatement(st,conn);
}