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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pass Oracle connection to Routine

Hi Team,

 

Is there any sample code for passing oracle tDbConnection to rountine and prcoess db records (Do some select * from table query) in routine.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

   Though, We can extract data using Oracle components, But if required we can pass the connection to Talend Routines as well. Create a Db connection using tOracleConnection component. Then go to the code section of the job where you can get the object name which you can pass to your Talend routine.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi,

 

    Why are you running the Oracle connection inside a routine? You can always extract the data set using Oracle native components like tOracleInput or tOracleRow and then you can use this result set for further processing.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Anonymous
Not applicable
Author

Hi,

 

   Though, We can extract data using Oracle components, But if required we can pass the connection to Talend Routines as well. Create a Db connection using tOracleConnection component. Then go to the code section of the job where you can get the object name which you can pass to your Talend routine.