Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
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.
Kind regards
Hello,
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.
Best regards
Sabrina
Hello Sabrina,
could you please show me an example with the components.
Kind Regards
Hello,
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.
Best regards
Sabrina