I was looking for examples on how to execute stored procedures and i found the code below. Can anyone tell me why
JDBC_getMoreResults() is called after the do while IsResultSet() , would not the JDBC_getResultSet() call get every
item in the record set?
Thanks for any answer ...
Search found 3 matches
- Thu Dec 12, 2024 4:15 pm
- Forum: JDBCR4
- Topic: Rookie Question
- Replies: 1
- Views: 25984
- Thu Dec 12, 2024 2:16 pm
- Forum: JDBCR4
- Topic: Getting an error when running JDBC_FreeResult(results)
- Replies: 1
- Views: 26671
Re: Getting an error when running JDBC_FreeResult(results)
I see what the issue is. In the code below when IsResultSet = JDBC_getMoreResults( callStmt ); is executed
and IsResultSet becomes false rs is no longer pointing to a result set and need not be freed ...
and IsResultSet becomes false rs is no longer pointing to a result set and need not be freed ...
- Wed Dec 11, 2024 10:36 pm
- Forum: JDBCR4
- Topic: Getting an error when running JDBC_FreeResult(results)
- Replies: 1
- Views: 26671
Getting an error when running JDBC_FreeResult(results)
When I execute JDBC_FreeResult(results) (results has a valid address). I get the error -- DBGP0003E Program received unmonitored exception RNX0301: Java exception received when calling Java method. when it is executing stmt = rs_getStatement(rs);
Do I need to run JDBC_FreeResult()?
Do I need to run JDBC_FreeResult()?