<?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: Make Hibernate Update/Create Changed Objects</title>
	<atom:link href="http://www.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/</link>
	<description>one of those blogs</description>
	<lastBuildDate>Sat, 04 Feb 2012 22:43:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Toly</title>
		<link>http://www.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/comment-page-1/#comment-3180</link>
		<dc:creator>Toly</dc:creator>
		<pubDate>Thu, 23 Apr 2009 14:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/#comment-3180</guid>
		<description>@David,

   As you see eviction happens on a &lt;a href=&quot;http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/orm/hibernate3/HibernateTemplate.html&quot; title=&quot;HibernateTemplate - Spring Framework&quot;&gt;HibernateTemplate&lt;/a&gt;:&lt;pre lang=&quot;java&quot;&gt;dao.getHibernateTemplate().evict( objectDto )&lt;/pre&gt; which is in fact a Spring Object.

-- Toly</description>
		<content:encoded><![CDATA[<p>@David,</p>
<p>   As you see eviction happens on a <a href="http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/orm/hibernate3/HibernateTemplate.html" title="HibernateTemplate - Spring Framework">HibernateTemplate</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">dao.<span style="color: #006633;">getHibernateTemplate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">evict</span><span style="color: #009900;">&#40;</span> objectDto <span style="color: #009900;">&#41;</span></pre></div></div>

<p> which is in fact a Spring Object.</p>
<p>&#8211; Toly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Wine Gifts</title>
		<link>http://www.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/comment-page-1/#comment-3178</link>
		<dc:creator>David Wine Gifts</dc:creator>
		<pubDate>Thu, 23 Apr 2009 12:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/#comment-3178</guid>
		<description>Please explain what are the changes do i need to implement if I use Hibernate with Spring for the same question..</description>
		<content:encoded><![CDATA[<p>Please explain what are the changes do i need to implement if I use Hibernate with Spring for the same question..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toly</title>
		<link>http://www.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/comment-page-1/#comment-3179</link>
		<dc:creator>Toly</dc:creator>
		<pubDate>Sat, 21 Feb 2009 22:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/#comment-3179</guid>
		<description>@Lucas,

    This is more of a Hibernate rant, and is not in any way a Spring Batch specific problem, and yes, you&#039;re right - HibernateCursorItemReader does use a stateless session by default.

    In that particular job, however, a custom reader was used that had a session injected from an application dao layer.

-- Toly</description>
		<content:encoded><![CDATA[<p>@Lucas,</p>
<p>    This is more of a Hibernate rant, and is not in any way a Spring Batch specific problem, and yes, you&#8217;re right &#8211; HibernateCursorItemReader does use a stateless session by default.</p>
<p>    In that particular job, however, a custom reader was used that had a session injected from an application dao layer.</p>
<p>&#8211; Toly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Ward</title>
		<link>http://www.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/comment-page-1/#comment-3181</link>
		<dc:creator>Lucas Ward</dc:creator>
		<pubDate>Fri, 20 Feb 2009 05:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dotkam.com/2009/02/19/make-hibernate-update-create-changed-objects/#comment-3181</guid>
		<description>That&#039;s interesting behavior, I&#039;m curious what was being used in this job as an ItemReader?  By default, the HibernateCursorItemReader uses a Stateless session, to avoid these kinds of problems, was this turned off? (which is an option)  Or was the JPA paging reader used?</description>
		<content:encoded><![CDATA[<p>That&#8217;s interesting behavior, I&#8217;m curious what was being used in this job as an ItemReader?  By default, the HibernateCursorItemReader uses a Stateless session, to avoid these kinds of problems, was this turned off? (which is an option)  Or was the JPA paging reader used?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

