30833084308530863087308830893090309130923093
stmt = getPreparedStatement("SELECT * FROM READSTATS_HOUR"); rs = stmt.executeQuery(); while (rs.next()) { int hour = rs.getInt("HOUR"); stats[hour] = new CountStats( rs.getLong("COUNT_TOTAL"), rs.getLong("COUNT_RESET") ); } } finally
31263127312831293130313131323133313431353136
stmt = getPreparedStatement("SELECT * FROM READSTATS_DAY"); rs = stmt.executeQuery(); while (rs.next()) { int hour = rs.getInt("DAY"); stats[hour] = new CountStats( rs.getLong("COUNT_TOTAL"), rs.getLong("COUNT_RESET") ); } } finally