首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Hibernate中关联关系映射策略研究与实现
引用本文:梁伍七.Hibernate中关联关系映射策略研究与实现[J].安徽广播电视大学学报,2012(3):117-120,128.
作者姓名:梁伍七
作者单位:安徽广播电视大学,合肥,230022
摘    要:为解决对象模型和关系模型之间的不匹配,引入对象关系映射框架来解决。Hibernate是目前主流的ORM映射框架。分析了Web应用程序的体系结构和Hibernate体系结构。以在线购物系统为例,给出了对象关联关系映射策略,通过映射文件实现了该映射策略。实验结果表明,映射文件成功实现了该映射策略。通过Hibernate的数据持久层解决方案,提高了数据存取的速度,降低了系统的耦合性,保证了系统的扩展性。

关 键 词:Hibernate  Java  数据持久化  对象关系映射  ORM

Research and Implementation of Association Mapping Strategy Based on Hibernate
LIANG Wu-qi.Research and Implementation of Association Mapping Strategy Based on Hibernate[J].Journal of Anhui Television University,2012(3):117-120,128.
Authors:LIANG Wu-qi
Institution:LIANG Wu-qi(Anhui TV University,Hefei 230022,China)
Abstract:To solve the mismatch between object model and relation model,Object/Relation Mapping is introduced.Hibernate is one of the most popular Object/Relation Mapping(ORM) framework.The paper discusses the web application architecture and Hibernate architecture.Taking an example of an online shopping application,the ORM strategy of association mapping is provided,also the implementation of the association mapping is fulfilled through ORM mapping file.The experimental result shows that the association mapping has been implemented successfully.The data persistent layer solution based on Hibernate makes data access faster,the coupling of application is reduced,and the expandability of application is ensured.
Keywords:Hibernate  Java  data persistence  Object/Relation Mapping  ORM
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号