8.2.16 getHADBTransactionID()
- Organization of this subsection
(1) Function
This method acquires the transaction ID of the transaction that is being executed.
(2) Format
public long getHADBTransactionID() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns the transaction ID of the transaction that is being executed when the getHADBTransactionID method is issued.
Note that if the getHADBTransactionID method is issued before executing the SQL statement, this method returns 0.
(5) Exceptions
If the 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.