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.
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.

schlosna/pgjdbc,phillipross/pgjdbc,golovnin/pgjdbc,ekoontz/pgjdbc,underyx/pgjdbc,jorsol/pgjdbc,AlexElin/pgjdbc,panchenko/pgjdbc,sehrope/pgjdbc,thkoch2001/libpostgresql-jdbc-java,pgjdbc/pgjdbc,jkutner/pgjdbc,marschall/pgjdbc,whitingjr/pgjdbc,phillipross/pgjdbc,whitingjr/pgjdbc,rjmac/pgjdbc,jamesthomp/pgjdbc,golovnin/pgjdbc,jkutner/pgjdbc,davecramer/pgjdbc,Gordiychuk/pgjdbc,jorsol/pgjdbc,zapov/pgjdbc,zapov/pgjdbc,panchenko/pgjdbc,zemian/pgjdbc,marschall/pgjdbc,zemian/pgjdbc,marschall/pgjdbc,pgjdbc/pgjdbc,pgjdbc/pgjdbc,jamesthomp/pgjdbc,AlexElin/pgjdbc,panchenko/pgjdbc,lordnelson/pgjdbc,jkutner/pgjdbc,tivv/pgjdbc,jamesthomp/pgjdbc,schlosna/pgjdbc,alexismeneses/pgjdbc,sehrope/pgjdbc,lordnelson/pgjdbc,davecramer/pgjdbc,AlexElin/pgjdbc,zapov/pgjdbc,alexismeneses/pgjdbc,lonnyj/pgjdbc,zemian/pgjdbc,bocap/pgjdbc,tivv/pgjdbc,jorsol/pgjdbc,underyx/pgjdbc,davecramer/pgjdbc,golovnin/pgjdbc,amozhenin/pgjdbc,underyx/pgjdbc,lonnyj/pgjdbc,bocap/pgjdbc,pgjdbc/pgjdbc,Gordiychuk/pgjdbc,jorsol/pgjdbc,rjmac/pgjdbc,amozhenin/pgjdbc,bocap/pgjdbc,amozhenin/pgjdbc,sehrope/pgjdbc,sehrope/pgjdbc,davecramer/pgjdbc,thkoch2001/libpostgresql-jdbc-java,Gordiychuk/pgjdbc,marschall/pgjdbc,ekoontz/pgjdbc,phillipross/pgjdbc,lordnelson/pgjdbc,rjmac/pgjdbc,thkoch2001/libpostgresql-jdbc-java,whitingjr/pgjdbc