摘要
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.
出处
《四川理工学院学报(自然科学版)》
CAS
2011年第4期422-425,共4页
Journal of Sichuan University of Science & Engineering(Natural Science Edition)
基金
高校优秀青年人才基金项目(2010SQRL113)
关键词
连接池
事务处理
ACID
单事务
嵌套事务
connection pooling
transaction
ACID
single transaction
nested transaction