Hitachi

Hitachi Advanced Database Application Development Guide


8.2.34 setHADBOrderMode(int mode)

Organization of this subsection

(1) Function

This method sets for this Connection object the sort order for character string data in a SELECT statement in which the ORDER BY clause is specified.

The information set in this method corresponds to the adb_clt_sql_order_mode operand in the client definition.

(2) Format

public void setHADBOrderMode(int mode) throws SQLException

(3) Arguments

int mode

Specifies the sort order for character string data in a SELECT statement in which the ORDER BY clause is specified. Specify one of the following values:

  • AdbConnection.HADB_SQL_ORDER_MODE_BYTE

    Sort character string data by bytecode.

  • AdbConnection.HADB_SQL_ORDER_MODE_ISO

    Sort character string data by sort code (ISO/IEC 14651:2011 compliance).

(4) Return value

None.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases:

(6) Notes