JDBC Type 4 Driver Programmer's Reference
javax.sql.DataSource.setLogWriter
This method has no effect unless the JDBC trace facility
is enabled; for information on the JDBC trace facility, see
the NonStop Server for Java Programmer's Reference.
java.sql.Connection.createStatement(...)
java.sql.Connection.prepareStatement(...)
The Type 4 driver does not support the scroll-sensitive
result set type, so an SQLWarning is issued if an
application requests that type. The result set is changed to
a scroll-insensitive type.
java.sql.Connection.setReadOnly(...)
The read-only attribute is ignored.
java.sql.ResultSet.setFetchDirection(...)
The fetch direction attribute is ignored.
java.sql.Statement.setEscapeProcessing(...)
Because SQL/MX parses the escape syntax, disabling
escape processing has no effect.
java.sql.Statement.setFetchDirection(...)
The fetch direction attribute is ignored.
java.sql.Statement.setQueryTimeout(...)
The query time-out value is ignored. The Type 4 driver
does not abort execution when the query time-out period
has expired.
HP Extensions
The following HP extensions to the JDBC standard are implemented in the Type 4 driver.
Internationalization
The Type 4 driver is designed so that Java messages can be adopted for various languages. The error messages are stored outside
the source code in a separate property file and retrieved dynamically based on the locale setting. The error messages in different
languages are stored in separate property files based on the language and country. This extension does not apply to all messages
that can occur when running JDBC applications.
Type 4 Driver Conformance to SQL Datatypes
JDBC Data Types
The following table shows the JDBC data types that are supported by Type 4 driver and their corresponding SQL/MX data types:
JDBC Data Type
Support by JDBC Type 4
Driver for NonStop
SQL/MX
SQL/MX
Data Type
Types.Array
No N.A.
Types.BIGINT
Yes LARGEINT
Types.BINARY
Data type is mapped by SQL/MX 2.0.
Data type varies from that used for
table creation.
CHAR(n)
Types.BIT
Data type is mapped by SQL/MX 2.0.
Data type varies from that used for
table creation.
CHAR(1)
Types.BLOB
No N.A.