public class Dept{
private String id;
private String name;
private String address;
private List<Student> students;
public static List <Student> getStudentByDeptid(EntityManager em, Dept dept)
{
..............
}
}
getStudentByDeptid() 应该是静态的还是非静态的?