deletesAreDetected(int type)

boolean deletesAreDetected(int type) throws SQLException

Retrieves whether or not a visible row delete can be detected by calling the method ResultSet.rowDeleted. If the method deletesAreDetected returns false, it means that deleted rows are removed from the result set.

Parameters:

type

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

Returns:

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

Throws:

SQLException - if a database access error occurs or the database metadata object is closed