节点文献

基于Hibernate锁机制的事务管理方案研究与实现

Research and implementation of transaction management based on hibernate locking mechanism

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 汤伟程家兴顾婷婷胡必云

【Author】 TANG Wei, CHENG Jia-xing, GU Ting-ting, HU Bi-yun (Key Lab of Intelligence Computing and Signal Processing, Anhui University, Hefei 230039, China)

【机构】 安徽大学计算智能与信号处理教育部重点实验室安徽大学计算智能与信号处理教育部重点实验室 安徽合肥230039安徽合肥230039

【摘要】 在基于Java的企业应用开发过程中,数据持久层的并发设计往往是一个棘手的问题。在分析数据库事务机制理论和介绍开源O-R映射项目Hibernate架构的基础上,对Hibernate提供的两种事务锁机制的实现方法进行了比较,提出了一种基于Hibernate乐观锁机制的事务管理方法,并以H市政务审批系统建设为例,证明了该方法可以很好地满足多层B/S结构下数据库事务的并发性要求。

【Abstract】 In the enterprise application development under the Java environment, the concurrence of data persistence layer is generally a gordian knot. By analyzing the theories of the database transaction mechanism and introducing the hibernate structure in the open-source O-R mapping project, the two transaction lock mechanism provided by hibernate are compared, and a new method of transaction man- agement based on optimistic locking mechanism is put forward. This method has been applied in the examining and approving system of government affair in city H. The application shows that it is available to meet the concurrence demand of database transaction in the multilayer B/S structure.

  • 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2007年18期
  • 【分类号】TP311.52
  • 【被引频次】4
  • 【下载频次】127
节点文献中: 

本文链接的文献网络图示:

本文的引文网络