insertsAreDetected(int type)
Syntax:
boolean insertsAreDetected(int type) throws SQLException
Description:
Retrieves whether or not a visible row insert can be detected by calling the method ResultSet.rowInserted.
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 specified result set type; false otherwise
Throws:
SQLException - if a database access error occurs