Hitachi

Hitachi Advanced Database Application Development Guide


8.6.9 generatedKeyAlwaysReturned()

Organization of this subsection

(1) Function

This method acquires a value indicating whether a generated key will always be returned if the column names or indexes specified for the auto-generated key columns are valid and the statement succeeds.

(2) Format

public synchronized boolean generatedKeyAlwaysReturned() throws SQLException

(3) Arguments

None.

(4) Return value

This method always returns false.

(5) Exceptions

If the Connection object is closed before this method is executed, the JDBC driver throws an SQLException.