安徽广播电视大学学报
安徽廣播電視大學學報
안휘엄파전시대학학보
JOURNAL OF ANHUI TELEVISION UNIVESITY
2012年
3期
117-120,128
,共5页
Hibernate%Java%数据持久化%对象关系映射%ORM
Hibernate%Java%數據持久化%對象關繫映射%ORM
Hibernate%Java%수거지구화%대상관계영사%ORM
Hibernate%Java%data persistence%Object/Relation Mapping%ORM
为解决对象模型和关系模型之间的不匹配,引入对象关系映射框架来解决。Hibernate是目前主流的ORM映射框架。分析了Web应用程序的体系结构和Hibernate体系结构。以在线购物系统为例,给出了对象关联关系映射策略,通过映射文件实现了该映射策略。实验结果表明,映射文件成功实现了该映射策略。通过Hibernate的数据持久层解决方案,提高了数据存取的速度,降低了系统的耦合性,保证了系统的扩展性。
為解決對象模型和關繫模型之間的不匹配,引入對象關繫映射框架來解決。Hibernate是目前主流的ORM映射框架。分析瞭Web應用程序的體繫結構和Hibernate體繫結構。以在線購物繫統為例,給齣瞭對象關聯關繫映射策略,通過映射文件實現瞭該映射策略。實驗結果錶明,映射文件成功實現瞭該映射策略。通過Hibernate的數據持久層解決方案,提高瞭數據存取的速度,降低瞭繫統的耦閤性,保證瞭繫統的擴展性。
위해결대상모형화관계모형지간적불필배,인입대상관계영사광가래해결。Hibernate시목전주류적ORM영사광가。분석료Web응용정서적체계결구화Hibernate체계결구。이재선구물계통위례,급출료대상관련관계영사책략,통과영사문건실현료해영사책략。실험결과표명,영사문건성공실현료해영사책략。통과Hibernate적수거지구층해결방안,제고료수거존취적속도,강저료계통적우합성,보증료계통적확전성。
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 shop- ping application, the ORM strategy of association mapping is provided, also the implementation of the asso- ciation 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 da- ta access faster, the coupling of application is reduced, and the expandability of application is ensured.