<?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 Copying Oracle Table with XMLTYPE field from one DB to Another gives ORA-06553: PLS-306 error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Copying-Oracle-Table-with-XMLTYPE-field-from-one-DB-to-Another/m-p/2267449#M46324</link>
    <description>&lt;P&gt;I want to see if I can use Talend DI to copy from records from one Oracle DB to another (and then deleting the records from the source). This should run every five seconds or so&lt;/P&gt; 
&lt;P&gt;Basically, I'm trying to automate the&lt;/P&gt; 
&lt;PRE&gt;SELECT * FROM TABLE FOR UPDATE&lt;/PRE&gt; 
&lt;P&gt;The tables on both databases are similar in every way and have only 2 fields each:&lt;/P&gt; 
&lt;P&gt;RECID - VARCHAR&lt;/P&gt; 
&lt;P&gt;XMLRECORD - XMLTYPE&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I used the DBInput and DBOutput components to define the input and output tables but when I run the job I get this error:&lt;/P&gt; 
&lt;PRE&gt;ORA-06553: PLS-306: wrong number or types of arguments in call to 'XMLTYPE'&lt;/PRE&gt; 
&lt;P&gt;I'm aware of the option to use the extract function to get specific fields out of the xml field. However, I want to copy the entire field as is. As in just dump data from one table to another.&lt;/P&gt; 
&lt;P&gt;I've attached my job definitions below.&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="tal_1.PNG" style="width: 601px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzEV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143016iB975B0DC5B64E1C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzEV.png" alt="0683p000009LzEV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal_2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzSC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143675i163495A957D35070/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzSC.png" alt="0683p000009LzSC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal_3.PNG" style="width: 664px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz5x.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139091i6A96D8A64ED0D498/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz5x.png" alt="0683p000009Lz5x.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal_4.PNG" style="width: 670px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzSH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129111i37CB9ECFAC0F2515/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzSH.png" alt="0683p000009LzSH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Sep 2018 02:57:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-07T02:57:37Z</dc:date>
    <item>
      <title>Copying Oracle Table with XMLTYPE field from one DB to Another gives ORA-06553: PLS-306 error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Copying-Oracle-Table-with-XMLTYPE-field-from-one-DB-to-Another/m-p/2267449#M46324</link>
      <description>&lt;P&gt;I want to see if I can use Talend DI to copy from records from one Oracle DB to another (and then deleting the records from the source). This should run every five seconds or so&lt;/P&gt; 
&lt;P&gt;Basically, I'm trying to automate the&lt;/P&gt; 
&lt;PRE&gt;SELECT * FROM TABLE FOR UPDATE&lt;/PRE&gt; 
&lt;P&gt;The tables on both databases are similar in every way and have only 2 fields each:&lt;/P&gt; 
&lt;P&gt;RECID - VARCHAR&lt;/P&gt; 
&lt;P&gt;XMLRECORD - XMLTYPE&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I used the DBInput and DBOutput components to define the input and output tables but when I run the job I get this error:&lt;/P&gt; 
&lt;PRE&gt;ORA-06553: PLS-306: wrong number or types of arguments in call to 'XMLTYPE'&lt;/PRE&gt; 
&lt;P&gt;I'm aware of the option to use the extract function to get specific fields out of the xml field. However, I want to copy the entire field as is. As in just dump data from one table to another.&lt;/P&gt; 
&lt;P&gt;I've attached my job definitions below.&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="tal_1.PNG" style="width: 601px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzEV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143016iB975B0DC5B64E1C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzEV.png" alt="0683p000009LzEV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal_2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzSC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143675i163495A957D35070/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzSC.png" alt="0683p000009LzSC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal_3.PNG" style="width: 664px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz5x.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139091i6A96D8A64ED0D498/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz5x.png" alt="0683p000009Lz5x.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal_4.PNG" style="width: 670px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzSH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129111i37CB9ECFAC0F2515/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzSH.png" alt="0683p000009LzSH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 02:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Copying-Oracle-Table-with-XMLTYPE-field-from-one-DB-to-Another/m-p/2267449#M46324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-07T02:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Copying Oracle Table with XMLTYPE field from one DB to Another gives ORA-06553: PLS-306 error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Copying-Oracle-Table-with-XMLTYPE-field-from-one-DB-to-Another/m-p/2267450#M46325</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Did you try to use document for xml type?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 08:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Copying-Oracle-Table-with-XMLTYPE-field-from-one-DB-to-Another/m-p/2267450#M46325</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-11T08:23:55Z</dc:date>
    </item>
  </channel>
</rss>

