Totally worthless patch !!
Does not work with single result sets.
My apologies.
_____
From: squ...@li...
[mailto:squ...@li...] On Behalf Of Gupta,
Abhishek
Sent: Wednesday, November 02, 2005 2:45 PM
To: squ...@li...
Subject: [Squirrel-sql-users] multiple result sets problem
Hello,
I was having some problems getting sql to return multiple result sets.
I am using jTDS 1.1 driver to connect to Sybase 12.5 server.
After debugging the problem seems that the getMoreResults method can change
the updateCount. So getUpdateCount should be called after getMoreResults.
This can solve this problem on Sybase but I am not sure about other
databases.
I made the changes as in the attached patch for this to work. The patch is
against the latest snapshot zip file.
Thanks
Abhishek
|