This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Usually this means that you are not checking the returned result of the ResultSet.next() method. It returns true if there are more elements in the ResultSet, or false if there are none. Most people use code something like:
suppose you make a object of resultset ResulSet rs and you use the code rs.next() to retrieve data from the database if rs.next() returns false then it will throw an exception Resultset has no more data.