<?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: SaveOrUpdate versus Merge in Hibernate</title>
	<atom:link href="http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/</link>
	<description>Technology, code, and thoughts by Stevi Deter</description>
	<lastBuildDate>Tue, 31 Aug 2010 16:12:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: SJJ</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-13296</link>
		<dc:creator>SJJ</dc:creator>
		<pubDate>Sat, 21 Aug 2010 09:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-13296</guid>
		<description>Thanks for the useful information</description>
		<content:encoded><![CDATA[<p>Thanks for the useful information</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harish</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-12478</link>
		<dc:creator>Harish</dc:creator>
		<pubDate>Sat, 10 Jul 2010 10:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-12478</guid>
		<description>Its a very good tutorial. It helped me a lot in understanding the difference between merge and update method.</description>
		<content:encoded><![CDATA[<p>Its a very good tutorial. It helped me a lot in understanding the difference between merge and update method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-11857</link>
		<dc:creator>Suresh</dc:creator>
		<pubDate>Thu, 10 Jun 2010 22:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-11857</guid>
		<description>Thanks for the great tutorial.

I want to comment on merge(), it works fine on updating the object as long as object does not have BLOB data fields.

I have a table with BLOB columns and other data type columns.

1st Scenario:
if I use merge() method all other columns will update successfully with modified data except BLOB columns.

2nd Scenario:
if I use update() method, it updates the BLOB columns as well, n my UI I don&#039;t show all the columns from table. In such case, it updates with null values.

Any ideas or suggestions to fix this issue?

Very much appreciated...</description>
		<content:encoded><![CDATA[<p>Thanks for the great tutorial.</p>
<p>I want to comment on merge(), it works fine on updating the object as long as object does not have BLOB data fields.</p>
<p>I have a table with BLOB columns and other data type columns.</p>
<p>1st Scenario:<br />
if I use merge() method all other columns will update successfully with modified data except BLOB columns.</p>
<p>2nd Scenario:<br />
if I use update() method, it updates the BLOB columns as well, n my UI I don&#8217;t show all the columns from table. In such case, it updates with null values.</p>
<p>Any ideas or suggestions to fix this issue?</p>
<p>Very much appreciated&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sampath</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-11577</link>
		<dc:creator>sampath</dc:creator>
		<pubDate>Fri, 28 May 2010 12:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-11577</guid>
		<description>yah its good for the developers they got any exception these method is very help full</description>
		<content:encoded><![CDATA[<p>yah its good for the developers they got any exception these method is very help full</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramanathan</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-11526</link>
		<dc:creator>Ramanathan</dc:creator>
		<pubDate>Wed, 26 May 2010 05:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-11526</guid>
		<description>Excellent write up. Got this page exactly at the time I needed.
Most of the books provide the (boring) theory of the APIs but not the practical usage. Your chronicle gave a clean insight on where to use it with a simple example.

Thanks much.

ps: Do post more of such articles.</description>
		<content:encoded><![CDATA[<p>Excellent write up. Got this page exactly at the time I needed.<br />
Most of the books provide the (boring) theory of the APIs but not the practical usage. Your chronicle gave a clean insight on where to use it with a simple example.</p>
<p>Thanks much.</p>
<p>ps: Do post more of such articles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujatha</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-8054</link>
		<dc:creator>Sujatha</dc:creator>
		<pubDate>Mon, 07 Dec 2009 09:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-8054</guid>
		<description>Hi really very helpful....Thanks for ur article</description>
		<content:encoded><![CDATA[<p>Hi really very helpful&#8230;.Thanks for ur article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surya</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-7040</link>
		<dc:creator>Surya</dc:creator>
		<pubDate>Thu, 22 Oct 2009 06:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-7040</guid>
		<description>Excellent ..</description>
		<content:encoded><![CDATA[<p>Excellent ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siddiq</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-5158</link>
		<dc:creator>Siddiq</dc:creator>
		<pubDate>Fri, 14 Aug 2009 16:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-5158</guid>
		<description>Hi ,

I am not able to update the database when using merge. and when use update hibernate throws non-Unique object exception.
   I need to update the Case table , in which I need to get the case by a case id , and set the new values and then update the object to the database,  while updating if I  use merge, updated data is not reflecting in the DB and when using update or save , hibernate throws non-unique object exception.

Any idea why merge is not updating the database. ?</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>I am not able to update the database when using merge. and when use update hibernate throws non-Unique object exception.<br />
   I need to update the Case table , in which I need to get the case by a case id , and set the new values and then update the object to the database,  while updating if I  use merge, updated data is not reflecting in the DB and when using update or save , hibernate throws non-unique object exception.</p>
<p>Any idea why merge is not updating the database. ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nyuby</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-4105</link>
		<dc:creator>nyuby</dc:creator>
		<pubDate>Fri, 10 Jul 2009 02:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-4105</guid>
		<description>Hello, it&#039;s good tutorial, but i have a little confuse, if i using merge  and using session with getCurrentTransaction, why i must be commit transaction manually ? I see if i have getCurrentTransaction the transaction will  be closed and commit automatically, in this case, why did&#039;nt work ... could you give me some explanation please ?</description>
		<content:encoded><![CDATA[<p>Hello, it&#8217;s good tutorial, but i have a little confuse, if i using merge  and using session with getCurrentTransaction, why i must be commit transaction manually ? I see if i have getCurrentTransaction the transaction will  be closed and commit automatically, in this case, why did&#8217;nt work &#8230; could you give me some explanation please ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raja</title>
		<link>http://www.stevideter.com/2008/12/07/saveorupdate-versus-merge-in-hibernate/comment-page-1/#comment-3771</link>
		<dc:creator>raja</dc:creator>
		<pubDate>Wed, 01 Jul 2009 12:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevideter.com/?p=51#comment-3771</guid>
		<description>Hi Raffy
   Can you please advise my case which i expalined few days back. Since I am not getting that exception and wondering whts the use of merge(). Your thoughts will be appreciated</description>
		<content:encoded><![CDATA[<p>Hi Raffy<br />
   Can you please advise my case which i expalined few days back. Since I am not getting that exception and wondering whts the use of merge(). Your thoughts will be appreciated</p>
]]></content:encoded>
	</item>
</channel>
</rss>
