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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

System.Out.Println returning null

I have a piece of one job, that isn't working. It seems so straightfoward, I can't figure out what is wrong. All I'm trying to do is read a record using tOracleInput and do a System.out.println(row5.PROCESS) in a tJava component; All I get is Null. What am I doing wrong?
Thanks for your help,
Marcie
Labels (3)
3 Replies
_AnonymousUser
Specialist III
Specialist III

Use tJavaRow instead of tJava.
Anonymous
Not applicable
Author

Thanks, it works now, but I've used tJava to do this on other jobs, why did I have to use tJavaRow this time?
alevy
Specialist
Specialist

tJavaRow is for doing something for each row. tJava is for doing something once off; if included in a flow, it's executed before the first row.