Monday, April 15, 2013

resultSet.next() always returns “false”!!

You might be executing some query in your application and even though that you verified all the connection parameters like connection URL to the database, username and password, and the SQL statement that you fired, and that data also resides in the database in proper table and there are absolutely no case-related errors like “Scott” in place of “scott” user, resultSet.next() is always returning false.