private static void loadSectionsFromMySQL(final Connection conn) throws SQLException {

		final Statement s = conn.createStatement();
		s.executeQuery("SELECT * FROM obj_section");
		final ResultSet rs = s.getResultSet();
		int count = 0;
		while (rs.next()) {
			final String sectionId = rs.getString("id");
			final String title = rs.getString("title");
			final String professor = rs.getString("professor");
			final int status = rs.getInt("status");
			final int current = rs.getInt("current");
			final int max = rs.getInt("max");
			final String time = rs.getString("time");
			final Section sec = new Section(sectionId, title, professor, status,
					current, max, time);
			sections.put(sec.getId(), sec);
			count++;
		}
		rs.close();
		s.close();
	}