<?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 How to insert the same row into different DB tables that have the same structure but different names / database name in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-the-same-row-into-different-DB-tables-that-have/m-p/2213854#M10948</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I guess this should be easily done but all my tests failed so far !&lt;/P&gt; 
&lt;P&gt;I have to same data in different tables having the same structure. I have this scenario :&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;-&amp;nbsp; tables belongs to the same database but do have different tablename&lt;BR /&gt;or&lt;BR /&gt;-&amp;nbsp; tables belongs to different databases but have the same tablename.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Today I'm putting all DBInput in a daisy row.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DBInput in daisy row" style="width: 580px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZhT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154000iC00C7BDB35D9612B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZhT.png" alt="0683p000009MZhT.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DBInput in daisy row&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This worked a bit but I'm getting today a java execption telling me that my mainmethod cannot exceed 65435 char....&lt;/P&gt; 
&lt;P&gt;Is this possible to adapt this and iterating through a list of tablename / database name and modify the tDBInput.tableName or tDBINput.databaseName property with java code on each iteration through the list?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for your help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Stéphane&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:10:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T02:10:29Z</dc:date>
    <item>
      <title>How to insert the same row into different DB tables that have the same structure but different names / database name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-insert-the-same-row-into-different-DB-tables-that-have/m-p/2213854#M10948</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I guess this should be easily done but all my tests failed so far !&lt;/P&gt; 
&lt;P&gt;I have to same data in different tables having the same structure. I have this scenario :&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;-&amp;nbsp; tables belongs to the same database but do have different tablename&lt;BR /&gt;or&lt;BR /&gt;-&amp;nbsp; tables belongs to different databases but have the same tablename.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Today I'm putting all DBInput in a daisy row.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DBInput in daisy row" style="width: 580px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZhT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154000iC00C7BDB35D9612B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZhT.png" alt="0683p000009MZhT.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DBInput in daisy row&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This worked a bit but I'm getting today a java execption telling me that my mainmethod cannot exceed 65435 char....&lt;/P&gt; 
&lt;P&gt;Is this possible to adapt this and iterating through a list of tablename / database name and modify the tDBInput.tableName or tDBINput.databaseName property with java code on each iteration through the list?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for your help.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Stéphane&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-insert-the-same-row-into-different-DB-tables-that-have/m-p/2213854#M10948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:10:29Z</dc:date>
    </item>
  </channel>
</rss>

