摘要:
1、 学生表student 和年级表grade 2、类Student 和Grade类 Student: Grade: 3、 映射文件 Grade.hbm.xml Student.hbm.xml 4、 测试代码 总结:在双向的一对多关联映射中,注意一的一端的配置:<key>中不用指定非空not-nul 阅读全文
摘要:
hibernate3.x版本 hibernate4.x 阅读全文
摘要:
1、 学生表student 和年级表 grade 2、类Student 和Grade类 Student: Grade: 3、 映射文件 Grade.hbm.xml Student.hbm.xml 4、 测试代码 阅读全文
摘要:
1、 学生表student 和年级表grade 2、类Student 和Grade类 Student: Grade: 3、 映射文件 Grade.hbm.xml Student.hbm.xml 4、 测试代码 阅读全文