8.3.17 getHADBSQLSerialNum()
- Organization of this subsection
(1) Function
This method acquires the SQL statement sequence number that is assigned to this Statement object.
(2) Format
public long getHADBSQLSerialNum() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns the SQL statement sequence number that is assigned to this Statement object.
This method returns 0 if executed before an SQL statement is executed.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The Statement object is closed.
-
The Connection object that created the Statement object is closed.
(6) Notes
This is an HADB-specific method provided by the AdbStatement interface. For details about the execution method, see 12.2 Wrapper interface.