hibernate3.3.2
文章平均质量分 70
tianjun309
这个作者很懒,什么都没留下…
展开
-
hibernate_OneToMany_CURD_demo_and_note
note:(3)curd 增删改查(4)在映射po类里面,有set的为一的一方。(5)Address.hbm.xml <!-- 多对一的关键配置 --> <many-to-one name="man" class="dao.po.Man" fetch="select"> <column name...原创 2010-06-21 00:42:19 · 84 阅读 · 0 评论 -
No row with the given identifier exists_关于Hibnerate映射配置文件中的<many-to-one>注意事项...
关于Hibnerate映射配置文件中的<many-to-one>注意事项 错误信息:No row with the given identifier exists 错误原因:1的那一端为空,只需加上not-found="ignore" 来解决即可。 ...原创 2010-12-28 23:42:22 · 104 阅读 · 0 评论 -
关于hibernate占位符中使用like及相关注意事项
关于hibernate占位符中使用like及相关注意事项 (1)注意Object数组里面要对应上映射类的类型,该是 Stirng 的就 String ,该是 Integer 的就是 Integer 。(...原创 2010-12-28 23:54:21 · 375 阅读 · 0 评论