JDBC数据库连接池中事务处理的研究与实现  

Study and Implementation of the Transaction in the JDBC Database Connection Pool

在线阅读下载全文

作  者:何爱华[1] 戚晓明[2] 

机构地区:[1]蚌埠学院计算机科学与技术系,安徽蚌埠233030 [2]中国矿业大学地理信息与遥感科学系,江苏徐州221116

出  处:《四川理工学院学报(自然科学版)》2011年第4期422-425,共4页Journal of Sichuan University of Science & Engineering(Natural Science Edition)

基  金:高校优秀青年人才基金项目(2010SQRL113)

摘  要:JDBC驱动程序提供的连接类实现了事务控制机制,为了实现多任务多用户的操作,本文提出了一种禁用自动提交模式,该模式把对事务的控制权转交给程序开发人员,由程序员决定在适当的时候调用连接对象的适当方法来完成事务的任务。The connection class offers a transaction control mechanism in the JDBC drivers,and the JDBC drivers will automatically starts a transaction.By this way,the drivers will automatically end the transaction.It applies to any single user database,for many users of the database application,must change this automatic the way to achieve much more users.To solve the problem,a mode disables automatic submitted,the mode of the transaction control over to the application developer.Programmer in an appropriate time to call the connection object to the proper way to accomplish the task.

关 键 词:连接池 事务处理 ACID 单事务 嵌套事务 

分 类 号:TP115[自动化与计算机技术—控制理论与控制工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象