JDBC Type 4 Driver 2.0 Programmer's Reference (SQL/MX 2.x)

maxPoolSize Property
The maxPoolSize property sets the maximum number of physical connections that the pool can contain.
These connections include both free connections and connections in use. When the maximum number of
physical connections is reached, the Type 4 driver throws an SQLException and sends the message,
Maximum pool size is reached.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see How to Specify JDBC Type
4 Properties.
Data type: int
Units: number of physical connections
Default: -1 (Disables connection pooling.)
Range: -1, 0 through 2147483647, but greater than minPoolSize
The value determines connection-pool use as follows:
Any negative value is treated like -1.
0 means no maximum pool size.
A value of -1 disables connection pooling.
Any positive value less than minPoolSize is changed to the minPoolSize value.
maxStatements Property
The maxStatements property sets the total number of PreparedStatement objects that the
connection pool should cache. This total includes both free objects and objects in use. The NonStop Type
4 Driver Side Cache uses Most Frequently Used (MFU) algorithm. When the number of
PreparedStatements in the cache exceeds the specified maxStatements property, the least used
PreparedStatement is closed and removed from the statement cache to make way for a new
statement.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see How to Specify JDBC Type
4 Properties.
Data type: int
Units: number of objects
Default: 0 (Disables statement pooling.)
Range: 0 through 2147483647
The value 0 disables statement pooling. Any negative value is treated like 0 (zero).