<?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: On returning a collection of user defined objects from PL/SQL to Java &#8211; shortcut using a sys_refcursor</title>
	<atom:link href="http://technology.amis.nl/2006/05/02/on-returning-a-collection-of-user-defined-objects-from-plsql-to-java-shortcut-using-a-sys_refcursor/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/05/02/on-returning-a-collection-of-user-defined-objects-from-plsql-to-java-shortcut-using-a-sys_refcursor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=on-returning-a-collection-of-user-defined-objects-from-plsql-to-java-shortcut-using-a-sys_refcursor</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Jon</title>
		<link>http://technology.amis.nl/2006/05/02/on-returning-a-collection-of-user-defined-objects-from-plsql-to-java-shortcut-using-a-sys_refcursor/#comment-3201</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Sat, 15 Dec 2007 13:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1176#comment-3201</guid>
		<description><![CDATA[Hi

This might be a little off the subject but having worked with
pl/sql and ref cursors ( of which I am really hoping will be
obsolete in the future ) I can recommend this article

http://www.oracle-base.com/articles/8i/ComplexRecordsets.php#PLSQLTables

for working with in memory pl/sql types and refcursors]]></description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>This might be a little off the subject but having worked with<br />
pl/sql and ref cursors ( of which I am really hoping will be<br />
obsolete in the future ) I can recommend this article</p>
<p><a href="http://www.oracle-base.com/articles/8i/ComplexRecordsets.php#PLSQLTables" rel="nofollow">http://www.oracle-base.com/articles/8i/ComplexRecordsets.php#PLSQLTables</a></p>
<p>for working with in memory pl/sql types and refcursors</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Pedigo</title>
		<link>http://technology.amis.nl/2006/05/02/on-returning-a-collection-of-user-defined-objects-from-plsql-to-java-shortcut-using-a-sys_refcursor/#comment-3200</link>
		<dc:creator>Scott Pedigo</dc:creator>
		<pubDate>Wed, 28 Feb 2007 11:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1176#comment-3200</guid>
		<description><![CDATA[http://technology.amis.nl/blog/?p=1176

create or replace
function  get_rss_items
 return sys_refcursor
 as

   l_cursor sys_refcursor;
 begin
   open l_cursor
   for  select *
        from   table( get_rss_items_tbl )
        ;
   return l_cursor;
 end;

Did you actually test this? I tried to do exactly what you propose in PL/SQL and the Oracle compiler gives me the error messagses:
PLS-00231 function &#039;xxx&#039; may not be used in SQL]]></description>
		<content:encoded><![CDATA[<p><a href="http://technology.amis.nl/blog/?p=1176" rel="nofollow">http://technology.amis.nl/blog/?p=1176</a></p>
<p>create or replace<br />
function  get_rss_items<br />
 return sys_refcursor<br />
 as</p>
<p>   l_cursor sys_refcursor;<br />
 begin<br />
   open l_cursor<br />
   for  select *<br />
        from   table( get_rss_items_tbl )<br />
        ;<br />
   return l_cursor;<br />
 end;</p>
<p>Did you actually test this? I tried to do exactly what you propose in PL/SQL and the Oracle compiler gives me the error messagses:<br />
PLS-00231 function &#8216;xxx&#8217; may not be used in SQL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sukanya Subramanian</title>
		<link>http://technology.amis.nl/2006/05/02/on-returning-a-collection-of-user-defined-objects-from-plsql-to-java-shortcut-using-a-sys_refcursor/#comment-3199</link>
		<dc:creator>Sukanya Subramanian</dc:creator>
		<pubDate>Wed, 05 Jul 2006 14:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1176#comment-3199</guid>
		<description><![CDATA[How do i manage if the Type has types inside ?
For eg -

CREATE OR REPLACE TYPE sample_type_internal AS OBJECT(
phoneNumber number
);

CREATE OR REPLACE TYPE  list_sample_type_internal IS TABLE OF sample_type_internal;

CREATE OR REPLACE TYPE sample_type AS OBJECT(
name VARCHAR2(20),
listPhoneNumbers list_sample_type_internal
);]]></description>
		<content:encoded><![CDATA[<p>How do i manage if the Type has types inside ?<br />
For eg -</p>
<p>CREATE OR REPLACE TYPE sample_type_internal AS OBJECT(<br />
phoneNumber number<br />
);</p>
<p>CREATE OR REPLACE TYPE  list_sample_type_internal IS TABLE OF sample_type_internal;</p>
<p>CREATE OR REPLACE TYPE sample_type AS OBJECT(<br />
name VARCHAR2(20),<br />
listPhoneNumbers list_sample_type_internal<br />
);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
