Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tOracleSP - Calling a function returning a recordset

Hi all,
I'm using tOracleSp component to call Oracle functions.
Some of my Oracle functions return a recordset. In the tOracleSP, there is no 'RECORD SET' DB type for the returned value of a function ('RECORD SET' is only available in the output parameter of a store procedure).
The returned value must be map the the oracle.jdbc.OracleTypes.CURSOR java type.
To be able to use tOracleSp with functions that returns 'RECORD SET' (cursor), I crete my own tOracleSP component from the standard Talend tOracleSP component adn adapt it to be able to accept 'RECORD SET' as the DB type of the returned value of a function (see figure)
Note: AUTO MAPPING as DBtype doesn't match (mapped to java.sql.Types.OTHER : this failed at runtime).
In a future release of Talend products, could it be possible to add the 'RECORD SET' DB type as type of an oracle function , in the Talend tOracleSP component ?

Regards,
0683p000009MC51.png
Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hi
Can you please report a issue on our bugtracker?
Shong
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Hi,
I have similar requirement where function returns the resultset..Is this added or we have to create custom component?