JDBC Type 4 Driver 1.1 Programmer's Reference
Data type: int
Units: seconds
Default: 60
Range: 0 to 2147483647
If set to 0 (zero), no login timeout is specified.
maxIdleTime Property
Note:
The maxIdleTime property is available in the V11^AAC and subsequent Software
Product Releases (SPRs).
The maxIdleTime property determines the number of seconds that a physical connection
should remain unused in the pool before the connection is closed. 0 (zero) indicates no limit.
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: seconds
Default: 0 (No timeout)
Range: 0 through 2147483647
Any negative value is treated as 0, which indicates that no time limit applies.
For example, to set the maximum idle time to 5 minutes (300 seconds):
java –Dt4sqlmx.maxIdleTime=300
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