Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Debasis Sahoo
115
Views
7
Comments
catching a ref cursor output
Question
Hello there,
can anyone tell me the way to catch the recordset returned by ref cursor call. An example will be good.
Debasis Sahoo
any suggestions please ?
Kilian Hekhuis
MVP
Leo,
I don't understand what you mean. Are you talking about Service Studio or Integration Studio?
Tip: when people don't reply, you probably didn't formulate your question in an understandable way.
Debasis Sahoo
Hi Killian,
thanks for the reply and i am sorry if i didnt made it clear.
I just want to know if there is any mechanism in service studio by which i can use ref cursor of oracle?
Kilian Hekhuis
MVP
Hi Leo,
I'm not versed in Oracle, but with Advanced Queries you can send commands to the database (nearly) as-is.
Gerrit Bouhuis
Hi Leo,
Did you manage to fetch the records via a stored procedure call?
We're trying to write an extension that we can use to call an Oracle Stored procedure that has 1 output parameter that is defined as SYS_REFCURSOR. The procedure returns a resultset with 0,1 or more rows. Each row has a couple of attributes like an id, a code, a description, a creation date etc. We can't use the Oracle Connector since that is not available for the Java stack. The functionality that we want to use is not supported by Advanced Queries.
Kind regards, Gerrit
1 reply
30 May 2016
Show thread
Hide thread
Debasis Sahoo
Gerrit Bouhuis
wrote:
Hi Leo,
Did you manage to fetch the records via a stored procedure call?
We're trying to write an extension that we can use to call an Oracle Stored procedure that has 1 output parameter that is defined as SYS_REFCURSOR. The procedure returns a resultset with 0,1 or more rows. Each row has a couple of attributes like an id, a code, a description, a creation date etc. We can't use the Oracle Connector since that is not available for the Java stack. The functionality that we want to use is not supported by Advanced Queries.
Kind regards, Gerrit
Hello Gerrit,
we can do this by using oracle connector with input object as a record and output object as a record list.
we have manged to achieve this. sorry for the late reply but i thought it would be worth sharing the success. :)
Output object should bind to OutputList instead of SimpleOutputs
Debasis Sahoo
Hello Gerrit,
thanks for the reply. you are correct. Oracle connector lacks this functionality.
I am still finding a way around to get the records. Please let me know when you are done with your code.
This will help a lot in accomplishing the desired result in an easy way.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...