I would like to save the result from a tJava Job into a MSQL database without saving it as a physical file.
I want to transfer it to another component (tFileOutputDelimited ?)
My question is how can I transfer an object or a string to a component to save it to a database?
I do not know exactly how to proceed.
Do I need an output stream?
I am grateful for every answer.
The custom code tJava component will be executed first, but only once in the subjob. Normally, tJava has no input or output data flow and is used as a separate subjob. The workflow looks like: tFileinputdelimited-->tJava
If you want to transfer the result to another component, please take a look at component tJavaRow.
The work flow looks like:tFileinputdelimited-->tJavaRow-->tFileOutputDelimited
tJavaRow component applies some transformation to the data being processed.
Here is a KB article about:https://community.talend.com/t5/Design-and-Development/What-is-the-difference-between-tJava-tJavaRow....
Feel free to let us know if it is OK with you.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs