Hitachi

Hitachi Advanced Database Application Development Guide


8.5.48 getStatement()

Organization of this subsection

(1) Function

This method acquires the Statement object that created this ResultSet object.

(2) Format

public synchronized Statement getStatement() throws SQLException

(3) Arguments

None.

(4) Return value

This method returns the Statement object that created the ResultSet object. If the result set was created by a method in DatabaseMetaData, this method returns null.

(5) Exceptions

The JDBC driver throws an SQLException in the following cases: