JDBC Type 4 Driver 1.1 Programmer's Reference
Range: -1, 0 to 2147483647
Zero (0) specifies infinity as the timeout value.●
A non-zero positive value overrides the value set on the MXCS server data source, if
allowed by the MXCS settings. For more information, see the SQL/MX Connectivity
Server Manual.
●
A negative value is treated as -1.●
For an example, consider this scenario. Even if a connection is not being used, it takes up
resources. The application abandons connections; that is, the application does not physically
close a connection after the application finishes using the connection. However, you can
configure the connection to close itself after 300 seconds by setting the
connectionTimeout property. Then, when a connection is not referenced for 300 seconds,
the connection automatically closes itself. In this example, the specification to set the
connectionTimeout property is:
connectionTimeout=300
dataSourceName Property
The dataSourceName property specifies the registered DataSource or
ConnectionPoolDataSource name.
Set this property on the DataSource object. For information about how to set the property
value, see How to Specify JDBC Type 4 Properties.
Data type: String
Default: none
For example: dataSourceName=myDataSource
description Property
The description property specifies the registered source name.
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: String
Default: none
The value can be any valid identifier.