今天在写hibernate的级联保存的到时候一直不能保存成功 junit一直在报空指针异常 原因是在写POJO的时候没有new HashSet
private Set<Course> courses = new HashSet<Course>();
今天在写hibernate的级联保存的到时候一直不能保存成功 junit一直在报空指针异常 原因是在写POJO的时候没有new HashSet
private Set<Course> courses = new HashSet<Course>();