Totally worthless patch !!
Does not work with single result sets.
[mailto:email@example.com] On Behalf Of Gupta, Abhishek
Sent: Wednesday, November 02, 2005 2:45 PM
Subject: [Squirrel-sql-users] multiple result sets problem
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.