<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The code of method is exceeding the 65535 bytes limit in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370627#M133649</link>
    <description>Hi, 
&lt;BR /&gt;My Job generate a job where the code of method is exceeding the 65535 bytes and i don't know how reduce the size of the method. 
&lt;BR /&gt;My job have to read a file positionnal and execute a lot of transformation to insert / update data in database in lot of tables with the data read in file. 
&lt;BR /&gt;I think that my job is bad modelised because il put all transformation in a only job but i don't know how create sub-job or other in my case. 
&lt;BR /&gt;Fastly, my job do the transformation below : 
&lt;BR /&gt;tfileInputRegex----&amp;gt; tMap --if three first caracters == 000 ---&amp;gt; save data in context 
&lt;BR /&gt; --if three first caracters == 010 ---&amp;gt; i do insert data in four tables in database and save some data in context 
&lt;BR /&gt; --if three first caracters == 020 ---&amp;gt; i do insert data in two tables in database 
&lt;BR /&gt; --if three first caracters == 030 ---&amp;gt; ... 
&lt;BR /&gt; --if three first caracters == 040 ---&amp;gt; ... 
&lt;BR /&gt;For all my steps, i use the data readed in tFileInputRegex to insert data in database. I don't see how explose my job in somes function java, job-code or other.</description>
    <pubDate>Sat, 16 Nov 2024 13:58:30 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T13:58:30Z</dc:date>
    <item>
      <title>The code of method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370627#M133649</link>
      <description>Hi, 
&lt;BR /&gt;My Job generate a job where the code of method is exceeding the 65535 bytes and i don't know how reduce the size of the method. 
&lt;BR /&gt;My job have to read a file positionnal and execute a lot of transformation to insert / update data in database in lot of tables with the data read in file. 
&lt;BR /&gt;I think that my job is bad modelised because il put all transformation in a only job but i don't know how create sub-job or other in my case. 
&lt;BR /&gt;Fastly, my job do the transformation below : 
&lt;BR /&gt;tfileInputRegex----&amp;gt; tMap --if three first caracters == 000 ---&amp;gt; save data in context 
&lt;BR /&gt; --if three first caracters == 010 ---&amp;gt; i do insert data in four tables in database and save some data in context 
&lt;BR /&gt; --if three first caracters == 020 ---&amp;gt; i do insert data in two tables in database 
&lt;BR /&gt; --if three first caracters == 030 ---&amp;gt; ... 
&lt;BR /&gt; --if three first caracters == 040 ---&amp;gt; ... 
&lt;BR /&gt;For all my steps, i use the data readed in tFileInputRegex to insert data in database. I don't see how explose my job in somes function java, job-code or other.</description>
      <pubDate>Sat, 16 Nov 2024 13:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370627#M133649</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: The code of method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370628#M133650</link>
      <description>If you're hitting the max method size its a good idea to start thinking of a fundamental redesign of your job.&lt;BR /&gt;without knowing much about the problem you need to solve, I can suggest that you shard your input file (by the first 3 characters) so that you can have one job to parse '010' lines, one job to parse '020' lines etc...</description>
      <pubDate>Wed, 29 Apr 2009 16:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370628#M133650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-29T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: The code of method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370629#M133651</link>
      <description>Hi,&lt;BR /&gt;Thanks for response but i don't do a job by type of line (010, 020, 030, 040, ...) because i don't share the database connection between my job and so the connection will be done to each line... i believe.&lt;BR /&gt;I think to have find a solution for my problem.&lt;BR /&gt;I success to split my job in lot of sub-job like this :&lt;BR /&gt;&lt;PRE&gt;tfileInputRegex ----&amp;gt; tMap ---- if three first caracters == 000 --&amp;gt; toFlowToIterate --&amp;gt; tJavaRow (i stock the data) ---- On component Ok --&amp;gt; tFixedFlowInput --&amp;gt; ...&lt;BR /&gt;                           ---- if three first caracters == 010 --&amp;gt; toFlowToIterate --&amp;gt; tJavaRow (i stock the data) ---- On component Ok --&amp;gt; tFixedFlowInput --&amp;gt; ...&lt;BR /&gt;                           ---- if three first caracters == 020 --&amp;gt; toFlowToIterate --&amp;gt; tJavaRow (i stock the data) ---- On component Ok --&amp;gt; tFixedFlowInput --&amp;gt; ...&lt;BR /&gt;                           ---- if three first caracters == 030 --&amp;gt; toFlowToIterate --&amp;gt; tJavaRow (i stock the data) ---- On component Ok --&amp;gt; tFixedFlowInput --&amp;gt; ...&lt;BR /&gt;                           ...&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Apr 2009 09:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/The-code-of-method-is-exceeding-the-65535-bytes-limit/m-p/2370629#M133651</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-04-30T09:10:11Z</dc:date>
    </item>
  </channel>
</rss>

