<?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: ColdFusion ORM : Performance tuning &#8211; Lazy loading</title>
	<atom:link href="http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/</link>
	<description>My Views on ColdFusion, Java and related technologies</description>
	<lastBuildDate>Mon, 26 Jul 2010 14:26:19 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Simon Lenoir</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/comment-page-1/#comment-825</link>
		<dc:creator>Simon Lenoir</dc:creator>
		<pubDate>Thu, 18 Mar 2010 03:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/#comment-825</guid>
		<description>Hi Rupesh, 

Based on my tests with CF9 Hibernate ORM and this adobe database bug entry:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=76073
I think it has to be said that lazy loading actually doen&#039;t work in Codfusion9, at least not for Flex.</description>
		<content:encoded><![CDATA[<p>Hi Rupesh, </p>
<p>Based on my tests with CF9 Hibernate ORM and this adobe database bug entry:<br />
<a href="http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=76073" rel="nofollow">http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=76073</a><br />
I think it has to be said that lazy loading actually doen&#8217;t work in Codfusion9, at least not for Flex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/comment-page-1/#comment-549</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Wed, 16 Sep 2009 13:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/#comment-549</guid>
		<description>Ben, If you notice above, &#039;proxy&#039; applies to one-to-one and many-to-one whereas  &#039;lazy&#039; applies to collection mapping or one-to-many and many-to-many. 
When you say lazy=&#039;true&#039; for one-to-one or many-to-one, proxy is created.

Regarding your other question, for one-to-many, many-to-many Hibernate always creates a proxy collection object i.e a proxy for Array. The proxy contains enough information to load all the objects later when needed. When methods like ArrayLen() or ArrayContains() is called, it will not load the full array and just execute the query to get the count or existence of relation.</description>
		<content:encoded><![CDATA[<p>Ben, If you notice above, &#8216;proxy&#8217; applies to one-to-one and many-to-one whereas  &#8216;lazy&#8217; applies to collection mapping or one-to-many and many-to-many.<br />
When you say lazy=&#8217;true&#8217; for one-to-one or many-to-one, proxy is created.</p>
<p>Regarding your other question, for one-to-many, many-to-many Hibernate always creates a proxy collection object i.e a proxy for Array. The proxy contains enough information to load all the objects later when needed. When methods like ArrayLen() or ArrayContains() is called, it will not load the full array and just execute the query to get the count or existence of relation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/comment-page-1/#comment-547</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Wed, 16 Sep 2009 13:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/09/coldfusion-orm-performance-tuning-lazy-loading/#comment-547</guid>
		<description>Nice post, but I am a bit confused between the Lazy and Proxy loading strategies. Both code samples use lazy=&quot;true&quot; in the CFProperty tag. Are you saying that lazy=true results in the proxy being used? 

Also, I am confused as to how Extra lazy loading works. How does ColdFusion know how the property is going to be used if this happens outside of the actual persistent cfc? Is this some sort of compile-time optimization?</description>
		<content:encoded><![CDATA[<p>Nice post, but I am a bit confused between the Lazy and Proxy loading strategies. Both code samples use lazy=&#8221;true&#8221; in the CFProperty tag. Are you saying that lazy=true results in the proxy being used? </p>
<p>Also, I am confused as to how Extra lazy loading works. How does ColdFusion know how the property is going to be used if this happens outside of the actual persistent cfc? Is this some sort of compile-time optimization?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
