文件名称:DBPool
介绍说明--下载内容均来自于网络,请自行研究使用
Delphi 7下测试通过的数据库连接池对象,有ADO和DBExpress两种方式,都兼容了SQLServer和oracle,使用方式为创建TDBExpPool或者TADOPool,执行查询语句直接调用OpenSQL,返回一个TataSet,使用完毕释放。insert语句使用ExecSQL,如果要使用事务,请先调用GetDBConn获取一个DBConn,然后调用Enter,调用Pool的ExecSQL时传入此DBConn,使用完毕Leave即可。-Delphi 7 to test the database connection pool through objects, there are two ways to ADO and DBExpress are compatible with the SQLServer and oracle, used to create TDBExpPool or TADOPool, execute a query directly call OpenSQL, returns a TataSet, released after use. insert statement using ExecSQL, if you want to use transactions, please call GetDBConn get a DBConn, then call Enter, when the incoming call Pool of ExecSQL this DBConn, Leave can be used up.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
uCommClass.pas
uDBPool.pas
uDBPool.pas