Updatable ResultSets need to check for an empty ResultSet because

Kris Jurka <books@ejurka.com>

Commit: a44f99024c43fa7cb4fb24e62033bc5704e0355c
Author: Kris Jurka <books@ejurka.com>
Date: 2005-04-22T14:48:18Z
Releases: 7.4.8
Updatable ResultSets need to check for an empty ResultSet because
isBeforeFirst and isAfterLast both return false for an empty result
so the checking to make sure the user is on a valid row wasn't
working.

Also don't allow an insert without specifying at least one column
value because INSERT INTO tab() values() is a syntax error.

Files