Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi I need to make a few minor modifications to the JAVA code generated by Talend and then regenerate the JAR file to test a performance issue that I am experiencing. When I build the Job, I see the source JAVA file and I am able to make the modification that I need and so my question is how would I go about rebuilding the .jar file from that modified .java source code?
When I try to run: javac <jobname>.java I get a bunch of errors "error: package routines does not exist ...import routines.DataOperation;...."
The modifications I want to make are:
I am on Windows and using Talend Studio Version: 7.2.1.
Thank you. I have looked in the directory and have seen the files. I'm trying to see exactly which file I need to modify and how I need to modify it.
Thank you very much. I was able to modify the appropriate javajet file and got the results I wanted.
Hi,
After modifying the .javajet file do I need to perform any other step for Talend to pickup the change to the component? I changed the following lings in the below files but I don't think it is reflected in the generated code.
---------- TMSSQLOUTPUT_END.JAVAJET
[168] <%=prefix+cid%>.setNull(count<%=cid%>,java.sql.Types.DATE);
---------- TMSSQLOUTPUT_MAIN.JAVAJET
[170] <%=prefix+cid%>.setNull(counter<%=cid%>,java.sql.Types.DATE);
The java.sql.Types.DATE was changed to java.sql.Types.TIMESTAMP.