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 with java

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-12-25 : 15:48:50
Noam writes "Hi,
I write this:


CallableStatement StmtGetOccurrencesByID = null;
dataOccurrences[] data = null;
int arrSize = 0, i=0;

String strSql = "{call Get_OccurrencesByID(?)}";
StmtGetOccurrencesByID = conn.prepareCall(strSql,
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY
);
StmtGetOccurrencesByID.setLong(1, PtsID);
StmtGetOccurrencesByID.execute();
ResultSet rs = StmtGetOccurrencesByID.getResultSet();

I got an exception:
"Unable to obtain result set row count from ..."
Any idea why ?"
   

- Advertisement -