<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wrap a cursor function</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/2010/03/07/wrap-a-cursor-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com/2010/03/07/wrap-a-cursor-function/</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Sat, 04 Sep 2010 17:08:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/07/wrap-a-cursor-function/comment-page-1/#comment-17810</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Mon, 08 Mar 2010 19:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3584#comment-17810</guid>
		<description>The OCI only supports a single dimension PL/SQL-only collection (the old PL/SQL Tables from Oracle 8i documentation). There&#039;s no record support in the OCI and it has been on the request queue for more than 5 years. I wouldn&#039;t hold my breath.

You can pass a collection of PL/SQL scalar collections in parallel. I actually put an example of that in the Oracle Database 10g Express Edition PHP Programming book. It&#039;s not a downloadable code set because it shipped with a CD, but I&#039;ll fix that and post the code tonight. Then, I&#039;ll update this note with the files you&#039;ll want to look at.</description>
		<content:encoded><![CDATA[<p>The OCI only supports a single dimension PL/SQL-only collection (the old PL/SQL Tables from Oracle 8i documentation). There&#8217;s no record support in the OCI and it has been on the request queue for more than 5 years. I wouldn&#8217;t hold my breath.</p>
<p>You can pass a collection of PL/SQL scalar collections in parallel. I actually put an example of that in the Oracle Database 10g Express Edition PHP Programming book. It&#8217;s not a downloadable code set because it shipped with a CD, but I&#8217;ll fix that and post the code tonight. Then, I&#8217;ll update this note with the files you&#8217;ll want to look at.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gauss</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/07/wrap-a-cursor-function/comment-page-1/#comment-17807</link>
		<dc:creator>Gauss</dc:creator>
		<pubDate>Mon, 08 Mar 2010 19:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3584#comment-17807</guid>
		<description>Thanks so much Maclochlainn, you are a kind person! :)

I&#039;ve had something like that already and refined a little more with this article.

Now I&#039;m able to pass the ref cursor to other PL function but I still have a question. Is it possible to output a PL/SQL-only collection (created from the package-level record structure that mimics an SQL object type) as a ref cursor so that it could be handled by Java?

I know that functions like &#039;Table&#039; only work with SQL objects so I haven&#039;t had success as to open a ref cursor for a collection with the function Table. What I&#039;m about to try is to pass the collection to Java and read it with Oracle libraries instead than working with a result set. Anyway I still wonder if it&#039;s possible to output a ref cursor to avoid this.

BTW, I&#039;m using Oracle 9.2.0.4.0.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks so much Maclochlainn, you are a kind person! <img src='http://blog.mclaughlinsoftware.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve had something like that already and refined a little more with this article.</p>
<p>Now I&#8217;m able to pass the ref cursor to other PL function but I still have a question. Is it possible to output a PL/SQL-only collection (created from the package-level record structure that mimics an SQL object type) as a ref cursor so that it could be handled by Java?</p>
<p>I know that functions like &#8216;Table&#8217; only work with SQL objects so I haven&#8217;t had success as to open a ref cursor for a collection with the function Table. What I&#8217;m about to try is to pass the collection to Java and read it with Oracle libraries instead than working with a result set. Anyway I still wonder if it&#8217;s possible to output a ref cursor to avoid this.</p>
<p>BTW, I&#8217;m using Oracle 9.2.0.4.0.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
