August 1999
Intermediate to advanced
1488 pages
72h 53m
English
new DbPool() new DbPool(dbType, dbInstance, uid, pwd, dbName) new DbPool(dbType, dbInstance, uid, pwd, dbName, maxConn) new DbPool(dbType, dbInstance, uid, pwd, dbName, maxConn, commitFlag)
The DbPool object is an object that holds a "pool" of connections to a database. Before you open a connection to a database and have the ability to run queries against it, you should create an instance of this object. Once the instance is created, connections can be obtained from the pool as needed. The pool object itself takes all the parameters necessary to make the connection. It is possible to create a pool without specifying any parameters; however, you must pass the parameters when the first connection is attempted. ...
Read now
Unlock full access