学生表关联学生的课程表(一对多) 学生表实体类: @Entity @Table(name = "JXD_COM_STUDENT") public class StudentModel { //model与vo的转换规则 public static final String[] CONVERT_VO_MAPPING_TYPE = new String[] {"stuSex(mark=xb):stuSexName", "studentCourses(class…
hibernate多对多的注解配置中的自动生成中间表的配置: @Entity@Table(name="test_student")public class Students { @Id @SequenceGenerator(name="seqStudents",sequenceName="seq_test_student") @GeneratedValue(generator="seqStudents") private In…