检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:汤伟[1] 程家兴[1] 顾婷婷[1] 胡必云[1]
机构地区:[1]安徽大学计算智能与信号处理教育部重点实验室,安徽合肥230039
出 处:《计算机工程与设计》2007年第18期4491-4493,共3页Computer Engineering and Design
摘 要:在基于Java的企业应用开发过程中,数据持久层的并发设计往往是一个棘手的问题。在分析数据库事务机制理论和介绍开源O-R映射项目Hibernate架构的基础上,对Hibernate提供的两种事务锁机制的实现方法进行了比较,提出了一种基于Hibernate乐观锁机制的事务管理方法,并以H市政务审批系统建设为例,证明了该方法可以很好地满足多层B/S结构下数据库事务的并发性要求。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.
关 键 词:数据库 事务机制 乐观锁 对象-关系映射 电子政务
分 类 号:TP393.09[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.221.227.158