Research and Implementation of Association Mapping Strategy Based on Hibernate

Liang Wu-qi · Journal of Anhui Radio & TV University · 2012

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.

Read the paper · More papers on PaperTik