Hitachi

Hitachi Advanced Database Application Development Guide


8.6.86 insertsAreDetected(int type)

Organization of this subsection

(1) Function

This method acquires a value indicating whether insertion of a visible row can be detected by calling the rowInserted method of the ResultSet class.

(2) Format

public synchronized boolean insertsAreDetected(int type) throws SQLException

(3) Arguments

int type

Specifies one of the following result set types:

  • ResultSet.TYPE_FORWARD_ONLY

  • ResultSet.TYPE_SCROLL_INSENSITIVE

  • ResultSet.TYPE_SCROLL_SENSITIVE

(4) Return value

This method always returns false.

(5) Exceptions

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