<?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: Hibernate hard facts part 1</title>
	<atom:link href="http://blog.frankel.ch/hibernate-hard-facts-part-1/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.frankel.ch/hibernate-hard-facts-part-1</link>
	<description>Nicolas Fränkel blog</description>
	<lastBuildDate>Wed, 28 Jul 2010 14:40:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=9290</generator>
	<item>
		<title>By: Nicolas Frankel</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-549</link>
		<dc:creator>Nicolas Frankel</dc:creator>
		<pubDate>Thu, 11 Mar 2010 20:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-549</guid>
		<description>&lt;a href=&quot;#comment-548&quot; rel=&quot;nofollow&quot;&gt;@Disnarda &lt;/a&gt; 
Thanks, &quot;what happens&quot; is still a little vague but now I know the context...</description>
		<content:encoded><![CDATA[<p><a href="#comment-548" rel="nofollow">@Disnarda </a><br />
Thanks, &#8220;what happens&#8221; is still a little vague but now I know the context&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Disnarda</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-548</link>
		<dc:creator>Disnarda</dc:creator>
		<pubDate>Thu, 11 Mar 2010 20:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-548</guid>
		<description>&lt;a href=&quot;#comment-543&quot; rel=&quot;nofollow&quot;&gt;@Nicolas Frankel  &lt;/a&gt; 
I think he is refering to another Hibernate Session, when the object is in deatached state.</description>
		<content:encoded><![CDATA[<p><a href="#comment-543" rel="nofollow">@Nicolas Frankel  </a><br />
I think he is refering to another Hibernate Session, when the object is in deatached state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Frankel</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-543</link>
		<dc:creator>Nicolas Frankel</dc:creator>
		<pubDate>Thu, 04 Mar 2010 18:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-543</guid>
		<description>Is the Session you&#039;re refering to an HTTP session or an Hibernate Session? Could you be more specific in your question? What happens is a little vague.</description>
		<content:encoded><![CDATA[<p>Is the Session you&#8217;re refering to an HTTP session or an Hibernate Session? Could you be more specific in your question? What happens is a little vague.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btilford</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-542</link>
		<dc:creator>btilford</dc:creator>
		<pubDate>Thu, 04 Mar 2010 02:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-542</guid>
		<description>What happens in the (probably most common) scenario where the object is retrieved during an http request and updated in another http request? e.g. When you update you are using a different Session.</description>
		<content:encoded><![CDATA[<p>What happens in the (probably most common) scenario where the object is retrieved during an http request and updated in another http request? e.g. When you update you are using a different Session.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Java geek &#187; Hibernate hard facts part 2</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-519</link>
		<dc:creator>A Java geek &#187; Hibernate hard facts part 2</dc:creator>
		<pubDate>Fri, 25 Dec 2009 23:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-519</guid>
		<description>[...] Part 1 : Updating a persistent object [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 1 : Updating a persistent object [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Java geek &#187; Hibernate hard facts part 3</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-518</link>
		<dc:creator>A Java geek &#187; Hibernate hard facts part 3</dc:creator>
		<pubDate>Fri, 25 Dec 2009 23:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-518</guid>
		<description>[...] Part 1 : Updating a persistent object [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 1 : Updating a persistent object [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joonas</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-514</link>
		<dc:creator>joonas</dc:creator>
		<pubDate>Mon, 14 Dec 2009 15:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-514</guid>
		<description>Should be noted that much relies on your current flush mode (Session#getFlushMode) which many might not know of.

By default flush mode ought to be FlushMode#AUTO, which means that changes to tracked entities will be flushed at latest before commit, but also before any dependant queries. Dependant queries as in queries to which your changes can cause different results -- in the above example any queries related to Persons and entities related to Person.

MANUAL (previously NEVER) allows you to delay changes until you call Session#flush(). 

COMMIT delays (don&#039;t know if there are exceptions to this, at least javadoc doesn&#039;t specify those) until, well the transaction commit.

ALWAYS delays until every query, or commit.

You can control change tracking through for example Session#setReadOnly(Object, boolean), Query#setReadOnly(boolean), Criteria#setReadOnly(boolean).

Spring @Transaction&#039;s readOnly applies to Hibernate through the sessions flush mode (if you use HibernateTransactionManager).</description>
		<content:encoded><![CDATA[<p>Should be noted that much relies on your current flush mode (Session#getFlushMode) which many might not know of.</p>
<p>By default flush mode ought to be FlushMode#AUTO, which means that changes to tracked entities will be flushed at latest before commit, but also before any dependant queries. Dependant queries as in queries to which your changes can cause different results &#8212; in the above example any queries related to Persons and entities related to Person.</p>
<p>MANUAL (previously NEVER) allows you to delay changes until you call Session#flush(). </p>
<p>COMMIT delays (don&#8217;t know if there are exceptions to this, at least javadoc doesn&#8217;t specify those) until, well the transaction commit.</p>
<p>ALWAYS delays until every query, or commit.</p>
<p>You can control change tracking through for example Session#setReadOnly(Object, boolean), Query#setReadOnly(boolean), Criteria#setReadOnly(boolean).</p>
<p>Spring @Transaction&#8217;s readOnly applies to Hibernate through the sessions flush mode (if you use HibernateTransactionManager).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hibernate hard facts part 2 &#124; A Java geek</title>
		<link>http://blog.frankel.ch/hibernate-hard-facts-part-1/comment-page-1#comment-476</link>
		<dc:creator>Hibernate hard facts part 2 &#124; A Java geek</dc:creator>
		<pubDate>Fri, 26 Jun 2009 22:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.frankel.ch/?p=175#comment-476</guid>
		<description>[...] Part 1 : Updating a persistent object [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 1 : Updating a persistent object [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
