节点文献
基于J2EE的数据持久模型的设计与实现
Design and Implementation of Data Persistence Layer Model Based on J2EE
【摘要】 针对面向对象技术和关系数据库企业应用开发的通用环境,对数据的持久解决方案并实现数据持久模型进行了研究.基于对象-关系映射技术,使用代理模式进行持久化管理,将底层的数据访问进行独立封装,并根据业务请求和映射信息文件动态地生成SQL代码,从而使得对象模型与关系数据库之间具有无关性;同时,通过动态分配机制和缓冲机制大大提高了数据访问的效率.
【Abstract】 Aiming at developing object-oriented technology and relational database in a general environment for enterprise applications,this article studies the approaches for data persistence solution and model construction.Proxy model is used to manage data persistence based on O/R Mapping.The encapsulated underlying data are made completely accessible,with the object model and relational database being independent of each other by building SQL code dynamically with the query of operation and mapping information.The data accessing efficiency is greatly uplifted through the dynamic allocation and the buffering mechanism.
【Key words】 object-oriented; relational database; mapping; data persistence;
- 【文献出处】 宁波大学学报(理工版) ,Journal of Ningbo University(Natural Science & Engineering Edition) , 编辑部邮箱 ,2009年03期
- 【分类号】TP311.52
- 【被引频次】2
- 【下载频次】48