public ArrayList<GradeItem> gradeItems(ResultSet rs) throws Exception {
        DBConnector db = new DBConnector();
        ArrayList<GradeItem> data = new ArrayList<>();
        while (rs.next()) {
            data.add(new GradeItem(db.getGradeItem(rs.getInt("gradeitemid"))));
        }
        return data;
    }