Home > Archive > SQL Server JDBC > August 2005 > Invalid operation for the current cursor position









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Invalid operation for the current cursor position
Khris

2005-08-22, 1:23 pm

Our developers are getting the following error posted from several Java
applications.
[Microsoft][SQLServer 2000 Driver for JDBC] Invalid operation for the
current cursor position

Is anyone familiar with this error?
Joe Weinstein

2005-08-23, 3:23 am



Khris wrote:

> Our developers are getting the following error posted from several Java
> applications.
> [Microsoft][SQLServer 2000 Driver for JDBC] Invalid operation for the
> current cursor position
>
> Is anyone familiar with this error?


It can occur when you try to access result set data without ever
having called next(). If you can show us the whole original stack trace
of the exception and the code that caused it, we can probably see the problem.
Joe Weinstein at BEA Systems

Khris

2005-08-24, 11:23 am

Joe - you are correct. The developer was not validating that there was an
actual row. Thanks a bunch


"Joe Weinstein" wrote:

>
>
> Khris wrote:
>
>
> It can occur when you try to access result set data without ever
> having called next(). If you can show us the whole original stack trace
> of the exception and the code that caused it, we can probably see the problem.
> Joe Weinstein at BEA Systems
>
>

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com