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)
 Empty ResultSet

Author  Topic 

noamg
Posting Yak Master

215 Posts

Posted - 2000-12-24 : 09:07:19
Hi,
I wrote:
String strSql = "{call Get_OccurrencesByID(?)}";
stmt = conn.prepareCall(strSql,
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY
);
stmt.setLong(1, PtsID);
ResultSet rs = stmt.executeQuery();

The SQL Server 2000 return no rows, there is an empty resultset.

But, I got an Exception:
"Unable to obtain result set row count from{call .. }"

any ideas ?
why exception ?


Noam Graizer
   

- Advertisement -