8.3.12 getHADBOrderMode()
- Organization of this subsection
(1) Function
Retrieves the setting for the sorting order of character string data in ORDER BY clauses that are enabled for the connection to the HADB server using this Connection object. The following ORDER BY clauses are applicable:
-
ORDER BY clauses specified in the outermost query expression of the SELECT statement
-
ORDER BY clauses specified in the outermost query expression body of the COPY statement
(2) Format
public int getHADBOrderMode() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns the sort order of the character string data in the following ORDER BY clause.
-
The ORDER BY clause specified in the outermost query expression of the SELECT statement.
-
The ORDER BY clause specified in the outermost query expression body of the COPY statement.
One of the following values is returned:
-
AdbConnection.HADB_SQL_ORDER_MODE_BYTE
-
AdbConnection.HADB_SQL_ORDER_MODE_ISO
(5) Exceptions
If this Connection object is closed, the JDBC driver throws an SQLException.
(6) Notes
This is an HADB-specific method provided by the AdbConnection interface. For details about the execution method, see 12.2 Wrapper interface.