检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]重庆邮电大学信号与信息处理重庆市重点实验室,重庆400065
出 处:《电光系统》2012年第3期43-46,共4页Electronic and Electro-optical Systems
基 金:重庆市科委自然科学基金(CSTC,2011BB2143).
摘 要:数据持久化层不仅向业务逻辑层提供面向对象的API,而且封装数据访问细节,为系统中的数据库操作提供统一的接口。本文结合DAO设计模式和Hibernate框架给出了一种通用数据持久化层的实现方案,并详细介绍了Hibernate配置文件与映射文件和DAO模式在通用数据持久化层中的实现过程。该方案很好地解决了系统设计中扩展性和移植性等问题。Data persistent layer provides object oriented API to the business logic layer and encapsulates the data access details, providing unified interface for the database system operation. In this paper, we propose the implementation of general data persistent layer combining with DAO design pattern and Hibernate frame, and intro- duce its implementation process of Hibernate configuration file and mapping file and DAO pattern. The scheme solves the problems of expansibility and transplantation of the system design.
关 键 词:数据持久化 DAO设计模式 HIBERNATE框架
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222