When the query returns 0 rows
When connection is closed
When the query is invalid
When INSERT or UPDATE statement was executed
When the query is a call to a stored procedure
Normally, never. ResultSet object is always created
In case of internal database or database driver error
|