JDBC Type 4 Driver 2.0 Programmer's Reference (SQL/MX 2.x)
ROUND_DOWN
ROUND_FLOOR
ROUND_HALF_DOWN
ROUND_HALF_EVEN
ROUND_HALF_UP
ROUND_UNNECESSARY
ROUND_UP
For the definition of rounding mode values, see to the java.math.BigDecimal
documentation in http://java.sun.com/j2se/1.4.2/docs/api/index.html pages.
●
If the application sets erroneous values for the roundingMode property, no error is thrown by
the Type 4 driver. The driver uses ROUND_DOWN value instead.
●
To have the application get the DataTruncation exception when data is truncated, set the
roundingMode property to ROUND_UNNECESSARY.
●
The default rounding mode, ROUND_DOWN, is compatible with the JDBC/MX Type 2 driver.●
schema Property
The schema property sets the database schema that accesses SQL objects referenced in SQL statements
if the SQL objects are not fully qualified.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see How to Specify JDBC Type
4 Properties.
Data type: String
Default: none
For example, schema=sales
serverDataSource Property
The serverDataSource property sets the name of the data source on the MXCS server side (resides
on the HP NonStop server).
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see How to Specify JDBC Type
4 Properties.
The serverDataSource allows the application to set SQL/MX properties (such as resource
governing) for server-side data sources. For more information about server-side data sources, see "Server
Data Sources" in the SQL/MX Connectivity Service Manual.
If not specified, the default server data source is used.●










