Databases Reference
In-Depth Information
finally
{
// Clean everything up
if (rs != null) {
try
{
rs.close ();
}
catch (SQLException e)
{
System.out.println (e);
}
}
if (stmt != null) {
try
{
stmt.close ();
}
catch (SQLException e)
{
System.out.println (e);
}
}
}
// Finish calculating and storing values for this thread
ThreadInfo.cpuTime = (cpuEnd - cpuStart);
ThreadInfo.numExecutes = totalExecutes;
ThreadInfo.numRows = totalRows;
ThreadInfo.done = true;
}
Search WWH ::




Custom Search