if (log.isDebugEnabled()){
log.debug((t2-t1)/1000.0 + "s " + sqlInfo);
}
}
catch(SQLException e1){
throw new DataAccessException(sqlInfo, e1);
}
finally{
try{
if (rs != null){
rs.close();
}
if (pstmt != null){
pstmt.close();
}
}
catch(SQLException e){
throw new DataAccessException(e);
}
}
return data;
}