Hitachi

Hitachi Advanced Database Application Development Guide


8.7.21 isSigned(int column)

Organization of this subsection

(1) Function

This method returns a value indicating whether a specified column is for signed numeric values.

(2) Format

public synchronized boolean isSigned(int column) throws SQLException

(3) Arguments

int column

Specifies a column number (where the first column is 1).

(4) Return value

The method returns one of the following values:

true

The column is for signed numeric values.

false

The column is not for signed numeric values.

The following table shows the return value depending on the parameter's data type.

Table 8‒76: Return value depending on the parameter's data type

Parameter's data type

Return value

INTEGER, SMALLINT, DOUBLE PRECISION, DECIMAL

true

Other

false

(5) Exceptions

If the specified column value is 0 or less, or is greater than the number of columns in the table, the JDBC driver throws an SQLException.