JDBC Type 4 Driver Programmer's Reference
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.
Example Settings For Configuring Data Source Properties
To set data source properties in a t4sqlmx.properties file:
ClassName=com.tandem.t4jdbc.SQLMXDataSource
FactoryName= com.tandem.t4jdbc.SQLMXDataSourceFactory
dataSourceName=MyDataSourcePool
url=jdbc:\t4sqlmx\://mynode.mycompanynetwork.net\:port_number/\:
user=NSK_username
password=mypassword
description=a string
catalog=mycat
schema=myschema
language=en
maxPoolSize= -1 to number of pooled connections; -1 for no pooling
minPoolSize= 0 to minimum number of connections pooled
maxStatements= 0 to number of prepared statements pooled
connectionTimeout=0 (for connection pooling)
serverDataSource=MXCS_server_data_source
loginTimeout= number of seconds
T4LogLevel=OFF to FINEST
T4LogFile=/mylogdirectory/mylogfile
For more information, refer to the statement sample shipped with the product.
Properties can also be set programmatically. For example, to set the Safeguard user name:
void ds.setUID(String user-name)
Type 4 Driver Properties
The following NonStop JDBC Type 4 Driver properties are included in both the DriverManager object properties table and
DataSource object properties table, and are described in topics as follows:
catalog●
schema●
url●
user●
password●
maxStatements Property●
minPoolSize Property●
maxPoolSize Property●
Logging Properties
T4LogLevel❍
T4LogFile❍
●
connectionTimeOut●
serverDataSource●