8.4.8 getHADBSQLSerialNum()
- Organization of this subsection
(1) Function
This method acquires the SQL statement sequence number that is assigned to this PreparedStatement 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 PreparedStatement object.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The PreparedStatement object is closed.
-
The Connection object that created this PreparedStatement object is closed.
(6) Notes
This is an HADB-specific method provided by the AdbPreparedStatement interface. For details about the execution method, see 12.2 Wrapper interface.