|
基于Hibernate的数据持久层关键技术的研究 |
Research on the Key Technologies of Persistent Layer Based on Hibernate |
|
DOI:10.3969/j.issn.1671-5322.2006.02.005 |
中文关键词: 持久层 Hibernate DAO ThreadLocal |
英文关键词: hibernate persistent Layer DAO ThreadLocal |
基金项目: |
|
摘要点击次数: 4425 |
全文下载次数: 4378 |
中文摘要: |
Hibernate是连接Java对象模型和关系数据模型的桥梁,本课题的目标是开发一个基于Hibernate的信息查询系统,进行项目总体设计的时候,在整体结构中加入一个数据库访问层,为系统中的其它模块的数据库操作统一的函数接口.经过综合比较各种持久化方案,文中选择使用DAO封装Hibernate的方式实现数据访问层,同时选择ThreadLocal模式来管理Session. |
英文摘要: |
Hibernate is the bridge of the java object model and the relational data model.The goal of this object is to develop an information inquiry system based on hibernate.In the time of overall design,data access layer was joined in the whole structure to provide a uniform function interface for the database operations of other module.In this paper,hibernate was encapsulated in DAO to implement the data access layer,and ThreadLocal model was chosen to manage session. |
查看全文
查看/发表评论 下载PDF阅读器 |
关闭 |