<?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: Why should I Force Discriminator?</title>
	<atom:link href="http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/</link>
	<description>Ganesh\</description>
	<lastBuildDate>Sat, 31 Jul 2010 07:07:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: izle</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-70768</link>
		<dc:creator>izle</dc:creator>
		<pubDate>Fri, 16 Apr 2010 13:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-70768</guid>
		<description>thanx for article. ? exact my problem with this article. please blog more often</description>
		<content:encoded><![CDATA[<p>thanx for article. ? exact my problem with this article. please blog more often</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-68685</link>
		<dc:creator>Vinod</dc:creator>
		<pubDate>Tue, 23 Feb 2010 21:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-68685</guid>
		<description>I am just guessing here ... maybe the default is the way it is, cuz Hibernate folks might have thought that the default naming strategy will be the one thats going to be used more commonly when a new schema is being worked on and thus the table/column names are generated automatically by Hibernate. The need to explicitly map attributes to columns is something they probably thought could be supported by the &#039;Force Discriminator&#039; annotation while deciding on the default for cases where Hibernate might be used against a pre-existing schema.</description>
		<content:encoded><![CDATA[<p>I am just guessing here &#8230; maybe the default is the way it is, cuz Hibernate folks might have thought that the default naming strategy will be the one thats going to be used more commonly when a new schema is being worked on and thus the table/column names are generated automatically by Hibernate. The need to explicitly map attributes to columns is something they probably thought could be supported by the &#8216;Force Discriminator&#8217; annotation while deciding on the default for cases where Hibernate might be used against a pre-existing schema.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dekorasyon</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-68613</link>
		<dc:creator>dekorasyon</dc:creator>
		<pubDate>Mon, 22 Feb 2010 00:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-68613</guid>
		<description>thank you very nice article and project...</description>
		<content:encoded><![CDATA[<p>thank you very nice article and project&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gargy</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-68325</link>
		<dc:creator>Gargy</dc:creator>
		<pubDate>Mon, 15 Feb 2010 10:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-68325</guid>
		<description>thanx for article. ? exact my problem with this article. please blog more often.</description>
		<content:encoded><![CDATA[<p>thanx for article. ? exact my problem with this article. please blog more often.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganeshji Marwaha</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-67229</link>
		<dc:creator>Ganeshji Marwaha</dc:creator>
		<pubDate>Tue, 19 Jan 2010 10:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-67229</guid>
		<description>@Mike - If you can post your email id here, I will send you an email... We can take it from there...</description>
		<content:encoded><![CDATA[<p>@Mike &#8211; If you can post your email id here, I will send you an email&#8230; We can take it from there&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-66506</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-66506</guid>
		<description>Ganesh, What is the best way to contact you directly regarding a feature request on another one of your projects? We might be willing to pay to get the feature implemented, thanks!</description>
		<content:encoded><![CDATA[<p>Ganesh, What is the best way to contact you directly regarding a feature request on another one of your projects? We might be willing to pay to get the feature implemented, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandra</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-65706</link>
		<dc:creator>Alexandra</dc:creator>
		<pubDate>Thu, 10 Dec 2009 08:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-65706</guid>
		<description>hey ganesh, i am missing your insightful blogs, you r one hell of a unique blogger and it is very sad that u dont blog more often! do become active. love alex.</description>
		<content:encoded><![CDATA[<p>hey ganesh, i am missing your insightful blogs, you r one hell of a unique blogger and it is very sad that u dont blog more often! do become active. love alex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume BINET</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-65704</link>
		<dc:creator>Guillaume BINET</dc:creator>
		<pubDate>Thu, 10 Dec 2009 08:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-65704</guid>
		<description>Hi,
I just walked the same path for the exact same problem, too bad I didn&#039;t find your article first.

My logical conclusion is that the default behavior is an optimization when you navigate the object graph : it supposes that the foreign ID you are coming from is *unique* across the instances of the mixed types, then it works (it avoids to apply the formula for nothing).

Still with the default behaviour if you query one of the subclass directly, it will apply the formula because in this case it has only this mean to discriminate them.

IMHO the default behaviour should be the safe one and an option like @AssumeDiscriminatedIDs could be available for the current one.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I just walked the same path for the exact same problem, too bad I didn&#8217;t find your article first.</p>
<p>My logical conclusion is that the default behavior is an optimization when you navigate the object graph : it supposes that the foreign ID you are coming from is *unique* across the instances of the mixed types, then it works (it avoids to apply the formula for nothing).</p>
<p>Still with the default behaviour if you query one of the subclass directly, it will apply the formula because in this case it has only this mean to discriminate them.</p>
<p>IMHO the default behaviour should be the safe one and an option like @AssumeDiscriminatedIDs could be available for the current one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: travesti</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-64753</link>
		<dc:creator>travesti</dc:creator>
		<pubDate>Sun, 15 Nov 2009 02:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-64753</guid>
		<description>Recently, when I was working for nboomi.com, I faced an issue when mapping a OneToMany relationship to the sub-classes of “Single Table Inheritance” strategy.</description>
		<content:encoded><![CDATA[<p>Recently, when I was working for nboomi.com, I faced an issue when mapping a OneToMany relationship to the sub-classes of “Single Table Inheritance” strategy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evden Eve Nakliyat</title>
		<link>http://www.gmarwaha.com/blog/2009/08/26/hibernate-why-should-i-force-discriminator/comment-page-1/#comment-62475</link>
		<dc:creator>Evden Eve Nakliyat</dc:creator>
		<pubDate>Sat, 19 Sep 2009 13:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.gmarwaha.com/blog/?p=100#comment-62475</guid>
		<description>Cool article. THANKS.</description>
		<content:encoded><![CDATA[<p>Cool article. THANKS.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
