Problem appears when trying to add a new code.

Asked By 50 points N/A Posted on -


I was trying to add a new code yesterday, then I have run the program and tested it out.

But when I reach the last record, I am getting this error message (see the image below).

Can you identify what the problem possibly could be?

I’m unable to troubleshoot it.


This method should only be called on ResultSet objects that are scrollable (type TYPE_SCROLL_INSENSITIVE).

Any advice and suggestions would be a great help to me.
Thanks in advance.
Answered By 0 points N/A #145341

Problem appears when trying to add a new code.


It would have been better if you could put the code to the program.

1. This seems to be instruction line in the program where the last element contains EOF means end of file statement or object.

2. This cannot be used for the instructions that you have provided.

3. Proper checking for the database reaching the end of file is required before making any call to the object after the last change of the database pointer.

4. The method EOF is found in most languages. But in Java it is rather simple that all are exceptions created that are thrown as messages.

Login/Register to Answer

Related Questions