Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 [JDBC] getMoreResults(int current)

Author  Topic 

kubak
Starting Member

1 Post

Posted - 2004-05-08 : 20:44:17
Helllo.

My stored procedure returns two cursors. I want to keep first ResultSet returned from CallableStatement and read second. When I'm doing getMoreResults() on CallableStatent the first cursor is closing. So I tried this:

CallableStatement.getMoreResults(Statement.KEEP_CURRENT_RESULT)

but then I'm getting such strange exception:

java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseCallableStatement.getMoreResults(I)Z


Do you know how could I get round it?

(I'm using Microsoft JDBC Driver)

Kuba Królkowski
   

- Advertisement -