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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sprasad1
Contributor
Contributor

Unable to call tOracleConnection in tJava componenet

Hi,

 

We have noticed some issues for calling tOracleConnection in the tJava component. It was working fine in Talend 6.2.1, we are having this issue when we try to run the same jobs in Talend 7.2.1 during our unit testing. I am getting nullpoint exception as it's not picking the value from the tOracleConnection.

 

Please advise if anything got changed in Talend 7.2.1 to call the tOracleConnection. Here I have attached some screenshots:

Labels (3)
3 Replies
Anonymous
Not applicable

Hi
What the error are you getting? Maybe you can refer the Java code when using an existing connection on tOracleInput/tOracleOutput?

Regards
Shong
sprasad1
Contributor
Contributor
Author

Thanks for your reply, I have sorted the issue. Talend7 is using the same approach as it was in 5.6



Anonymous
Not applicable

Glad to see you have resolved it!
if you can share why you get null point exception and how you solve it, it will be helpful for other users who might meet the same issue or have the same requirement in future.