The design of the system adopts the O-R ( Object Oriented ) Mapping framework Hibernate which is open source to solve the differences between Object Oriented and database. 系统设计采用了面向对象的设计方法,为了解决面向对象和关系数据库在数据表现方式上的差异,使用了开源的O-R映射框架Hibernate,实现了可定制的持久层数据映射。
Research and Application about an Object / Relation Mapping Framework based on. NET 一种基于.NET的对象/关系映射框架的研究与应用
With the object / Relational mapping ( ORM ) of Hibernate framework, the object-based access to Relational database is achieved which separates the developer from the complicated SQL statement. It also highly increases the efficiency of software development, the reusability and the maintainability of the system. 通过Hibernate的对象关系映射(ORM)机制,实现系统对关系数据库的对象化访问,使开发者可以避免直接接触复杂的SQL语句,提高系统的开发效率及系统的可重用性和可维护性。
The persistence framework solves the problem of object persistence in relational databases. Object rela - tional mapping is the core of persistence framework. 持久化框架较好地解决了关系型数据库的对象持久化问题,对象关系映射是持久化框架的核心内容。
Having analyzed the theoretics of object model 、 relational model and Object / Relational Mapping, it proposes a lightweight architecture of persistence layer framework based on Object / Relational Mapping, and provides the design of it. 在分析了对象模型、关系模型以及对象/关系映射理论的基础上,提出了一种基于对象/关系映射技术的轻量级的持久层框架,并给出了此框架的设计。