<?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: org.hibernate.TransientObjectException Revisited</title>
	<atom:link href="http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/</link>
	<description>IT happens only in IT</description>
	<lastBuildDate>Tue, 03 Nov 2009 19:36:48 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yadu</title>
		<link>http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-139</link>
		<dc:creator>Yadu</dc:creator>
		<pubDate>Mon, 26 Oct 2009 18:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-139</guid>
		<description>@Niraj
If A and B are new objects, solution given here is not gonna work. You may need to apply cascade for merge in mapping.</description>
		<content:encoded><![CDATA[<p>@Niraj<br />
If A and B are new objects, solution given here is not gonna work. You may need to apply cascade for merge in mapping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-61</link>
		<dc:creator>Anand</dc:creator>
		<pubDate>Wed, 07 Jan 2009 12:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-61</guid>
		<description>Hi paras,
could you help me
how to do this with JPA
A a = new A();
B b = session.get(B.class, new Long(1));
a.setB(b);
…..
…..

session.save(a);
TIA 
kirti</description>
		<content:encoded><![CDATA[<p>Hi paras,<br />
could you help me<br />
how to do this with JPA<br />
A a = new A();<br />
B b = session.get(B.class, new Long(1));<br />
a.setB(b);<br />
…..<br />
…..</p>
<p>session.save(a);<br />
TIA<br />
kirti</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niraj</title>
		<link>http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-32</link>
		<dc:creator>Niraj</dc:creator>
		<pubDate>Wed, 07 May 2008 18:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-32</guid>
		<description>what happens if A and B are new objects 

that is if B is not existing in the DB.

Is there a strategy there</description>
		<content:encoded><![CDATA[<p>what happens if A and B are new objects </p>
<p>that is if B is not existing in the DB.</p>
<p>Is there a strategy there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Bates</title>
		<link>http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-31</link>
		<dc:creator>Dave Bates</dc:creator>
		<pubDate>Wed, 26 Mar 2008 16:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-31</guid>
		<description>Sorry should have finished  my previous post.  the update=”false” insert=”false” works just fine, but why is it required when I have just loaded the value of the many to one column from the database? Should be the same sessions right?  Right in the same method...  And there are other very similar properties (i am initializing the same way) that don&#039;t have the problem. That is what is strange.</description>
		<content:encoded><![CDATA[<p>Sorry should have finished  my previous post.  the update=”false” insert=”false” works just fine, but why is it required when I have just loaded the value of the many to one column from the database? Should be the same sessions right?  Right in the same method&#8230;  And there are other very similar properties (i am initializing the same way) that don&#8217;t have the problem. That is what is strange.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Bates</title>
		<link>http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-30</link>
		<dc:creator>Dave Bates</dc:creator>
		<pubDate>Wed, 26 Mar 2008 16:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://parasjain01.wordpress.com/2008/01/28/orghibernatetransientobjectexception-revisited/#comment-30</guid>
		<description>I&#039;m doing just what you say, but I still get the transientobjectexception... It is very strange.</description>
		<content:encoded><![CDATA[<p>I&#8217;m doing just what you say, but I still get the transientobjectexception&#8230; It is very strange.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
