Declaring type ref cursor in datagrip for oracle database
Answered
Hi,
i am having issues with declaring ref cursor types in datagrip, the package and the function that uses the ref cursor is working 100% fine in SQL developer, however, i am unable to figure out what is the issue in datagrip with this?!, i am unable to execute/run any function/procedure that uses this cursor.
the weird thing is, it works fine anywhere else, toad/sql developer.
any help would be appreciated.

Please sign in to leave a comment.
This is what i should get, from sql developer:
SELECT USERS_STATUS_PKG.USERS_STATUS_GET_LIST FROM DUAL;
{<STATUS_ID=1,STATUS_DESCRIPTION=ACTIVE>,<STATUS_ID=2,STATUS_DESCRIPTION=INACTIVE>,}
meanwhile, in datagrip:
H Habarah,
It looks like IDE can't parse reference correctly.
To execute your statement you need to change execution behavior a bit:
Could you provide a minimal working example to reproduce the issue with
?
Hi vasily,
So, i checked my "execution" options, it is already set at "exactly as statements"
here is my code:
@H Habarah,
Thank you for detailed description.
I reproduced the issue and found similar one https://youtrack.jetbrains.com/issue/DBE-6807 you can vote for.