JDBC Type 4 Driver Programmer's Reference
catalog String
See catalog.
SQL/MX 2.0 database catalog
value.
schema String
See schema.
SQL/MX 2.0 database schema
value.
maxStatements int
See
maxStatements
Property.
The total number of
PreparedStatement
objects that the connection pool
should cache. See
maxStatements Property.
minPoolSize int
See
minPoolSize
Property.
Limits the number of physical
connections that can be in the
free connection pool. See
minPoolSize Property.
maxPoolSize int
See maxPoolSize
Property.
Sets maximum number of
physical connections that the
pool could contain. This
number includes both free
connections and connections in
use. See maxPoolSize
Property.
T4LogLevel String
See T4LogLevel.
Logging level for the NonStop
JDBC Type 4 Driver.
T4LogFile String
See T4LogFile.
Logging file for the NonStop
JDBC Type 4 Driver.
connectionTimeOut
int
See
connectionTimeOut.
Number of seconds before the
connection to MXCS times out.
serverDataSource String
See
serverDataSource.
Name of the MXCS server
datasource to connect to.
Guidelines for Using Connections With the DriverManager Class
Java applications can specify the properties in the following ways:
Using JDBC properties with the -D option in the command line. If used, this option applies to all JDBC connections using
the DriverManager within the Java application. The format is to enter the following in the command line:
-Dt4sqlmx.property_name=property_value
For example in a command line, -Dt4sqlmx.maxStatements=1024
❍
Using the java.util.properties parameter in the getConnection method of DriverManager.❍
Using the java.util.properties file for the JDBC driver. The property file is passed as a command line parameter. The format
to enter the properties file in the command line is:
-Dt4sqlmx.properties=<location of the properties file on disk>
For example, -Dt4sqlmx.properties=C:\temp\t4props
The property values are set in the properties file as property_name=property_value pairs. The format used to enter these
pairs in the property file is:
property_name=property_value
For example,
maxStatements=1024
❍
For more information, refer to the Sun Microsystems documentation at http://java.sun.com/j2se/1.4.1/docs/api/index.html.
●
The properties passed through the driver have the following precedence order:●