DbPool.DbPool()

NES3+Syntax

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)

Description

The DbPool method of the DbPool object is the underlying method that creates a "pool" of connections to a database. The creation of a DbPool object is done using the format defined in the syntax definition. Each parameter is defined in Table 8.12.

Table 8.12. Parameters of the DbPool Method
ParameterDescription
dbTypeThe type of database it is. Possible values are: ORACLE, SYBASE, INFORMIX, DB2, or ODBC.
dbInstanceThis is the instance name of the database. For ODBC it is the DSN entry name.
uidThe username or ID you ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.