public synchronized void insertBatch(int id, long max, long min, long avg) {
		try {
			Statement stmt = conn.createStatement();
			stmt.execute("INSERT INTO batches VALUES (" + id + ", " + max
					+ ", " + min + ", " + avg + ")");
			stmt.close();
		} catch (SQLException sqlExcept) {
			sqlExcept.printStackTrace();
		}
	}