Verina, October 11, 2022 - 9:23 am UTC
The service bus project I use consists of a database adapter calling a stored procedure (plsql) and a rest binding component that creates webservice interface for the database adapter.
I need to close the cursor after reading it from the database adapter of the servicebus.
October 11, 2022 - 2:27 pm UTC
Check the documentation for whatever your database adapter is to find out how to close cursors with it.
Question to Verina - CLOSE statement
J. Laurindo Chiappa, October 13, 2022 - 12:31 pm UTC
October 13, 2022 - 12:33 pm UTC
Thanks for digging that out
Obs....
J. Laurindo Chiappa, October 13, 2022 - 12:53 pm UTC
Just an observation : I think that the technique in my previous comment will NOT work to you (as I understand, the ref cursor will be "consumed" by an External program (not written in PL/SQL and External to the database), thus the REF CURSOR must be in OPEN state to allow it, ad in this way only the "External" consumer could close it, but look and see, and later tell us the results...
Regards,
Chiappa