public List<StudentObj> getStudentTable(PreparedStatement pre) {
        List<StudentObj> items = new LinkedList<StudentObj>();
        try {
            ResultSet rs = pre.executeQuery();
            if (rs != null) {
                while (rs.next()) {
                    StudentObj item = new StudentObj();
                    item.setRollNo(rs.getString("rollNo"));
                    item.setPassword(rs.getString("password"));
                    item.setFullName(rs.getString("fullname"));
                    item.setEmail(rs.getString("email"));
                    item.setClassname(rs.getString("classname"));
                    item.setAddress(rs.getString("address"));
                    items.add(item);
                }
            }
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return items;
    }