public ArrayList<Section> getList(String whereString) {

        StringBuffer sql = new StringBuffer("");
        sql.append("SELECT Section_ID,Exam_ID,Section_Name,TimeLimit");
        sql.append(" FROM `Section`");
        if (whereString.trim() != "") {
            sql.append(" where " + whereString);
        }
        SQLHelper sQLHelper = new SQLHelper();
        sQLHelper.sqlConnect();
        ResultSet rs = sQLHelper.runQuery(sql.toString());
        ArrayList<Section> sections = new ArrayList<Section>();
        try {
            while (rs.next()) {
                Section section = new Section();
                section.setExam_ID(rs.getInt("Exam_ID"));
                section.setSection_ID(rs.getInt("Section_ID"));
                section.setSection_Name(rs.getString("Section_Name"));
                section.setTimeLimit(new SimpleDateFormat("HH:mm:ss").parse(rs.getString("TimeLimit")));
                sections.add(section);
            }
        } catch (SQLException ex) {
            Logger.getLogger(Section_DAO.class.getName()).log(Level.SEVERE, null, ex);
        } catch (ParseException ex) {
            Logger.getLogger(Section_DAO.class.getName()).log(Level.SEVERE, null, ex);
        }
        sQLHelper.sqlClose();
        return sections;
    }