<?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 Re: [resolved] How to get a Oracle REF CURSOR into Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348804#M115877</link>
    <description>Still I think you can override this by writing generic java routine on your own, but the component doesn't support it, for now. You can request the new feature &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Wed, 22 May 2013 20:53:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-22T20:53:12Z</dc:date>
    <item>
      <title>[resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348798#M115871</link>
      <description>I call a Oracle Stored procedure which has an out parameter of type REF CURSOR. For the call I use a tOracleStoredProcedure with type "Object" in the Schema column and type "RECORD SET" in the Parameters line. So far it seems to work. 
&lt;BR /&gt;Now I want to read the values from this cursor, and this where I got stuck trying, and can't find examples either. 
&lt;BR /&gt;If I log the flow directly I get something like 
&lt;BR /&gt;"oracle.jdbc.driver.OracleResultSetImpl@1402d5a" 
&lt;BR /&gt;which probably means, the object can't be logged directly. 
&lt;BR /&gt;I tried to use a tParseRecordSet, but I can't figue out how to use it correctly. It says 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt; The method getObject(int) in the type ResultSet is not applicable for the arguments () 
&lt;BR /&gt; Syntax error on tokens, delete these tokens 
&lt;BR /&gt; at playground.sporderstateshist_0_1.sporderstateshist.tJava_2Process(sporderstateshist.java:2390) 
&lt;BR /&gt; at playground.sporderstateshist_0_1.sporderstateshist.tJava_1Process(sporderstateshist.java:881) 
&lt;BR /&gt; at playground.sporderstateshist_0_1.sporderstateshist.tOracleConnection_4Process(sporderstateshist.java:405) 
&lt;BR /&gt;In the generated Java Code I see the line 2390: 
&lt;BR /&gt; row6.StatCd = re_tParseRecordSet_1.getObject(*** ERROR in Table ***); 
&lt;BR /&gt;which doesn't look like correct Java syntax, at least to a C++ programmer like me. 
&lt;BR /&gt;Is there something fundfamentally wrong with my approach? 
&lt;BR /&gt;Are there know bugs in the version I'm using - 2.4.1.r16077? 
&lt;BR /&gt;Can someone point me to an example how to tParseRecordSet is meant to be used? 
&lt;BR /&gt;Would be thankful for any tips, or general expressions of sympathy, 
&lt;BR /&gt;Florian</description>
      <pubDate>Sat, 16 Nov 2024 13:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348798#M115871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348799#M115872</link>
      <description>Hello 
&lt;BR /&gt;see a demo about tParseRecordSet, 7942. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 30 Oct 2009 06:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348799#M115872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-30T06:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348800#M115873</link>
      <description>Hi,&lt;BR /&gt;cool, now it works!&lt;BR /&gt;Step 3, mapping the column names in the value column of the attribute table, was the part I was missing.&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;Florian</description>
      <pubDate>Sat, 31 Oct 2009 11:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348800#M115873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-31T11:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348801#M115874</link>
      <description>In my current development project based on Oracle database we decided to deny any direct access to database store. Every I/O is done by database API, exactly functions packaged in packages, so tOracleSP and tParseRecord is my key component.... 
&lt;BR /&gt;But back to playing with tOracleSP. Of course I also missed the mapping the real columns :-), thought that it will list all data from cursor automatically to the output stream, heh, but when I saw in console something like "oracle.jdbc.driver.OracleResultSetImpl@5f8172|0|0||||", at the end are 4 empty collumns and the cursor also returns 4 columns, I said to myself, hey, you need to tell Talend names of columns returned from columns. And now everything works perfectly. 
&lt;BR /&gt;From my point of view there are 2 mandatory thing you always need to do: 
&lt;BR /&gt;1. On the Stored procedure component for your selected database always set the returned cursor to be stored to Talend (Java) data type Object. 
&lt;BR /&gt;2. set up mapping real columns name returned in cursor filling these names into column's Value on the tParseRecordSet component 
&lt;BR /&gt;And thats it. 
&lt;BR /&gt;I still sometimes think in other way then developers of Talend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; and this my behavior always make me trouble, on the other hand, when I solve some step (understand how to do that) in development, I always really enjoy this amazing product.</description>
      <pubDate>Mon, 01 Nov 2010 08:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348801#M115874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-01T08:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348802#M115875</link>
      <description>Hi,&lt;BR /&gt;What I am looking for is, I do not want to specify the mapping. Whatever columns my cursor returns I want to dump that to a file.&lt;BR /&gt;Any thoughts ?</description>
      <pubDate>Tue, 19 Feb 2013 21:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348802#M115875</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-02-19T21:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348803#M115876</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi,&lt;BR /&gt;What I am looking for is, I do not want to specify the mapping. Whatever columns my cursor returns I want to dump that to a file.&lt;BR /&gt;Any thoughts ?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You have to define the mapping in the schema, it does't support a dynamic schema on tParseRecordSet component.
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 20 Feb 2013 01:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348803#M115876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T01:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348804#M115877</link>
      <description>Still I think you can override this by writing generic java routine on your own, but the component doesn't support it, for now. You can request the new feature &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 22 May 2013 20:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348804#M115877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-22T20:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to get a Oracle REF CURSOR into Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348805#M115878</link>
      <description>Could someone please put pictures and step by step? I am really stuck, have opened a case with Talend as well. Thanks.</description>
      <pubDate>Thu, 20 Jun 2019 18:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-get-a-Oracle-REF-CURSOR-into-Talend/m-p/2348805#M115878</guid>
      <dc:creator>Shri76</dc:creator>
      <dc:date>2019-06-20T18:44:25Z</dc:date>
    </item>
  </channel>
</rss>

