Hello Java Ranch-A-Rareos!
I'm querying a mySql db to see if a user that is trying to register is already registered.
I query for the email and use the count function as you can see below: If it returns 0, the user gets registered, if 1, it returns the boolean. What is happening is that if the user is not in the db and the stmt.executeUpdate(insert); executes, when control passes back to the while test if fails because the ResultSet has been closed. Does anybody know how the ResultSet is being closed? Thanks for your help.