欢迎来到天天文库
浏览记录
ID:24833030
大小:521.00 KB
页数:58页
时间:2018-11-15
《Hibernate关联关系映射介绍附其相应应用示例.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Hibernate关联关系映射介绍及其相应的应用示例Hibernate关联关系映射目录│├─单向关联│├─一对一外键单向关联│├─一对一主键单向关联│├─一对一连接表单向关联│├─一对多外键单向关联│├─一对多连接表单向关联│├─多对一外键单向关联│├─多对一连接表单向关联│└─多对多单向关联└─双向关联├─一对一外键双向关联├─一对一主键双向关联├─一对一连接表双向关联├─一对多外键双向关联├─一对多连接表双向关联└─多对多双向关联本系列实例的开发环境:WindowsXPProfessional简体中文版MySQL5.0.45Hibernate3.12JavaSDK1.5.06系列
2、实例中所用的Hibernate配置文件如下:3、connection.driver_class">com.mysql.jdbc.Driverjdbc:mysql://localhost:3306/hbstudyroot124、34565org.hibernate.dialect.MySQLDialectcreatetrue<5、!--EnableHibernate'sautomaticsessioncontextmanagement-->thread6、asoft/dx/_n_1_tab/Addressn1tab.hbm.xml"/>7、l"/>
3、connection.driver_class">com.mysql.jdbc.Driverjdbc:mysql://localhost:3306/hbstudyroot12
4、34565org.hibernate.dialect.MySQLDialectcreatetrue<
5、!--EnableHibernate'sautomaticsessioncontextmanagement-->thread6、asoft/dx/_n_1_tab/Addressn1tab.hbm.xml"/>7、l"/>
6、asoft/dx/_n_1_tab/Addressn1tab.hbm.xml"/>7、l"/>
7、l"/>
此文档下载收益归作者所有