Hitachi

Hitachi Advanced Database Application Development Guide


8.6.175 updatesAreDetected(int type)

Organization of this subsection

(1) Function

This method acquires a value indicating whether updating performed on visible rows can be detected by calling the rowUpdated method of the ResultSet class.

(2) Format

public synchronized boolean updatesAreDetected(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.