<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Lazy-loading objects using Hibernate</title>
	<atom:link href="http://blog.kischuk.com/2004/07/23/lazy-loading-objects-using-hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kischuk.com/2004/07/23/lazy-loading-objects-using-hibernate/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 29 Nov 2011 10:51:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: hib ernate</title>
		<link>http://blog.kischuk.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-134</link>
		<dc:creator><![CDATA[hib ernate]]></dc:creator>
		<pubDate>Fri, 23 Jul 2004 23:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-134</guid>
		<description><![CDATA[Hey dudes, also you can just call Hibernate.initialize on the collection giving you trouble. Just do it before you close the session, and you be set!]]></description>
		<content:encoded><![CDATA[<p>Hey dudes, also you can just call Hibernate.initialize on the collection giving you trouble. Just do it before you close the session, and you be set!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Kischuk</title>
		<link>http://blog.kischuk.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-133</link>
		<dc:creator><![CDATA[Rob Kischuk]]></dc:creator>
		<pubDate>Fri, 23 Jul 2004 17:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-133</guid>
		<description><![CDATA[Right, good point, Christian.  outer-join=&quot;true&quot; is very useful in defining default behavior for non-HQL queries.  HQL is a nice way to allow finely tuned behavior - the more I work with it, the more I respect it.  (good work)
&lt;br&gt; &lt;br&gt;
I&#039;ve been so buried in HQL land, I sometimes forget to comment on the non-HQL approach.  If a developer is already using an HQL query, and using a bad session management pattern (session-per-query or something), they could unintentionally be dependent on the (non-proxy) existing Hibernate behavior where it auto-loads the Owner object.  This change would cause their app to flip out when Hibernate tries to lazy-load, but the session is already closed.  At this point, it would be best if they were introduced to open-session-in-view, but I thought I&#039;d at least throw a bone to developers who might try this and get unexpected results.  Sounds contrived, but I&#039;ve seen it, so I thought I&#039;d mention it.]]></description>
		<content:encoded><![CDATA[<p>Right, good point, Christian.  outer-join=&#8221;true&#8221; is very useful in defining default behavior for non-HQL queries.  HQL is a nice way to allow finely tuned behavior &#8211; the more I work with it, the more I respect it.  (good work)</p>
<p>I&#8217;ve been so buried in HQL land, I sometimes forget to comment on the non-HQL approach.  If a developer is already using an HQL query, and using a bad session management pattern (session-per-query or something), they could unintentionally be dependent on the (non-proxy) existing Hibernate behavior where it auto-loads the Owner object.  This change would cause their app to flip out when Hibernate tries to lazy-load, but the session is already closed.  At this point, it would be best if they were introduced to open-session-in-view, but I thought I&#8217;d at least throw a bone to developers who might try this and get unexpected results.  Sounds contrived, but I&#8217;ve seen it, so I thought I&#8217;d mention it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Bauer</title>
		<link>http://blog.kischuk.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-132</link>
		<dc:creator><![CDATA[Christian Bauer]]></dc:creator>
		<pubDate>Fri, 23 Jul 2004 15:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-132</guid>
		<description><![CDATA[the &quot;many-to-one&quot;]]></description>
		<content:encoded><![CDATA[<p>the &#8220;many-to-one&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Bauer</title>
		<link>http://blog.kischuk.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-131</link>
		<dc:creator><![CDATA[Christian Bauer]]></dc:creator>
		<pubDate>Fri, 23 Jul 2004 15:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://rkischuk.wordpress.com/2004/07/23/lazy-loading-objects-using-hibernate/#comment-131</guid>
		<description><![CDATA[You don&#039;t need HQL (just if you want runtime override), declare the &lt;many-to-one&gt; as outer-join=&quot;true&quot; if you don&#039;t want lazy loading.]]></description>
		<content:encoded><![CDATA[<p>You don&#8217;t need HQL (just if you want runtime override), declare the <many -to-one> as outer-join=&#8221;true&#8221; if you don&#8217;t want lazy loading.</many></p>
]]></content:encoded>
	</item>
</channel>
</rss>

