jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes MSSQL7.0 resultset bug? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MSSQL7.0 resultset bug?" Watch "MSSQL7.0 resultset bug?" New topic

MSSQL7.0 resultset bug?

omar khan
Ranch Hand

Joined: Feb 01, 2001
Posts: 183
Hello everybody.
I am using JDK1.3.0 and MSSQL7.0 on Win NT4.0
I stepped into a strange problem. I was wondering if anyone has eperienced it yet. The problem is this:
rs is a resultset
while (rs.next())
gives me a cursor error but
boolean mybool = rs.next();
while (mybool)
works ok
funny, isn't it?
[This message has been edited by OMAR KHAN (edited September 26, 2001).]
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

Sounds pretty strange...never heard of that one before! Are you sure you are not just overlooking a programming error?? Post the offending code along with the error message and maybe someone can sniff out an overlooked problem for you.
I agree. Here's the link: http://aspose.com/file-tools
subject: MSSQL7.0 resultset bug?
It's not a secret anymore!