updatesAreDetected()

Syntax:

boolean updatesAreDetected(int type)
                           throws SQLException

Description:

Retrieves whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated.

Parameters:

type

the ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE

Returns:

true if changes are detected by the result set type; false otherwise

Throws:

SQLException - if a database access error occurs