This content has been marked as final. Show 3 replies
especially point 5.5
Did you actually read the error message? Did you notice where it says "The 'beforeFirst()' method is only allowed on scroll cursors"?
try creating a statement like this
Statement stmt =connect.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
May be this can help