Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

Returns the value of the reserve data locator length.
Returns:
The value of the reserved data locator length.
Since:
1.1
getRoundingMode
public int getRoundingMode()
Returns:
Returns the rounding mode set for the driver as an Integer value with one of the values:
static int ROUND_CEILING
Rounding mode to round toward positive infinity.
static int ROUND_DOWN
Rounding mode to round toward zero.
static int ROUND_FLOOR
Rounding mode to round toward negative infinity.
static int ROUND_HALF_DOWN
Rounding mode to round toward "nearest neighbor" unless both
neighbors are equidistant, in which case round down.
static int ROUND_HALF_EVEN
Rounding mode to round toward the "nearest neighbor" unless
both neighbors are equidistant, in which case, round towards the even neighbor.
static int ROUND_HALF_UP
Rounding mode to round toward "nearest neighbor" unless both
neighbors are equidistant, in which case round up.
static int ROUND_UNNECESSARY
Rounding mode to assert that the requested operation has an exact
result; hence no rounding is necessary.
static int ROUND_UP
Rounding mode to round away from zero.
setRoundingMode
public void setRoundingMode(java.lang.String roundMode)
Sets the round mode behaviour for the driver.
Parameters:
roundMode - String value with one of the values:
static int ROUND_CEILING
Rounding mode to round toward positive infinity.
static int ROUND_DOWN
Rounding mode to round toward zero.
static int ROUND_FLOOR
Rounding mode to round toward negative infinity.
static int ROUND_HALF_DOWN
Rounding mode to round toward "nearest neighbor" unless both
neighbors are equidistant, in which case round down.
static int ROUND_HALF_EVEN
Rounding mode to round toward the "nearest neighbor" unless
both neighbors are equidistant, in which case, round towards the even neighbor.
static int ROUND_HALF_UP
Rounding mode to round toward "nearest neighbor" unless both
neighbors are equidistant, in which case round up.
static int ROUND_UNNECESSARY
Rounding mode to assert that the requested operation has an exact
result; hence no rounding is necessary.
static int ROUND_UP
Rounding mode to round away from zero.