JDBC/MX 5.0 Driver for SQL/MX Programmer's Reference (SQL/MX 2.x)

mode.
With the BatchUpdate Exception handling improvements support, JDBC driver now continues processing the
remaining jobs in the batch even after BatchUpdateExceptions. If there is any Batch exceptions encountered during the
execution, the exception is queued up and the remaining batch commands are executed. At the execution completion of
all elements in the batch the queued exceptions are thrown. The user application must handle, commit, or rollback of
batch transaction on an exception. By this, re-execution of entire jobs is avoided. However, for any TMF errors, that
results in transaction failure, cannot be addressed by this enhancement.
DatabaseMetaData Calls
For the DatabaseMetaData calls, specify the catalog and schema values. If you do not specify these values, the
JDBC/MX driver uses the following default values:
catalog = NONSTOP_SQLMX_NSK;
schema = PUBLIC_ACCESS_SCHEMA;
HP Extensions
The following HP extensions to the JDBC standard are implemented in the JDBC/MX driver.
Interval Data Type
The interval data type is not a generic SQL type defined in the Java 2 JDBC 3.0 Specification, but SQL/MX
supports the interval data type. To allow JDBC applications for SQL/MX to access the interval data type, the
JDBC/MX driver maps it to the Types.OTHER data type. The JDBC/MX driver enables the getObject() and
getString() methods of the ResultSet interface, and the setObject() and setString() methods of the
PreparedStatement interface, to access this data type. The interval data type is always accessed as a String object.
The JDBC/MX driver also allows escape syntax for interval literals.
Internationalization
The JDBC/MX driver is designed so that Java messages can be adopted for various languages. The error messages in
JDBC/MX components 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.
SQL Conformance
JDBC/MX conforms to the SQL language entry level of SQL:1999. This subsection describes the JDBC/MX support
for:
SQL Scalar Functions
CONVERT Function
JDBC Data Types
SQL Escape Clauses