Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
fjblau
Contributor
Contributor

tJavaRow not working from query

Simple query from sqlServer

select count(*) stgCount from Table1

Main to tJavaRow via row1

System.out.println(globalMap.get(

"row1.stgCount"

));

This ALWAYS returns NULL.

What the hell?

Labels (2)
1 Reply
Anonymous
Not applicable

Hi

To access the input row on tJavaRow, use this expression:

input_row.columnName

 

eg:

System.out.println(input_row.columnName);

 

Regards

Shong