Configuring the JDBC driver

The MAS JDBC driver can operate in two different modes:

You can specify the mode you want to use in the NEONTRACE environment variable by entering the keyword TYPE1 or TYPE2. If you do not specify a mode, TYPE1 will be used on the Windows NT platform and TYPE2 will be used on the SunOS platform.

Formatting the MAS JDBC driver connection string

Ensure that the MAS JDBC driver connection string has been formatted. The format for the connection string passed to driver.connect() is:

jdbc:neon:<data-source-name>;
 <attri1>=<value1>;...;<attrN>=<valueN>
 

All of the attributes that are valid for the ODBC connection string are also valid for the JDBC connection string, with the addition of the following JDBC-specific attributes:

An example of this attribute is:

DRPM=COMPLETE
 

DBCS support

The MAS JDBC driver supports DBCS on Windows NT, and SUNOS. DBCS is not supported on Windows 95/98.

Copyright IBM Corp. 1997, 2003