现代电子技术2016,Vol.39Issue(14):84-86,91,4.DOI:10.16652/j.issn.1004-373x.2016.14.023
一种简捷的数据持久层解决方案
A simple solution for data persistence layer
摘要
Abstract
In view of the problems existing in the data persistence layer that is implemented by Hibernate technology,such as cumbersome configuration of mapping file and inflexible data access,a simple solution based on Spring JDBC to realize data persistence layer is proposed in this paper. The process of its implementation is discussed in detail by combining with the devel⁃opment of practical application system. The actual development proves that the solution is feasible. It can avoid the configuration of mapping file,and it is also simple,fast,flexible and efficient to complete data persistence layer tasks. In addition,it can in⁃tegrate with upper layer and lower layer,and can better meet the need of multi⁃layer Web application system.关键词
数据持久层/Spring JDBC/Hibernate技术/映射文件配置/多层WebKey words
data persistence layer/Spring JDBC/Hibernate technology/mapping file configuration/multi-layer Web分类
信息技术与安全科学引用本文复制引用
梁弼..一种简捷的数据持久层解决方案[J].现代电子技术,2016,39(14):84-86,91,4.基金项目
国家档案局科技项目(2014-X-65);四川省教育厅一般项目 ()