<?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: Partitioning in Hibernate</title>
	<atom:link href="http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 20:40:47 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lovely Job</title>
		<link>http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/comment-page-1/#comment-25968</link>
		<dc:creator>Lovely Job</dc:creator>
		<pubDate>Wed, 28 Nov 2007 11:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/#comment-25968</guid>
		<description>Hi 

Your article is good.  Here I have a id could not be instatantiated  problem. The database dialect which I use is MySQL.

When I search google we could solve it by reverse enginnering procedure by creating hibernate.reveng.xml file and adding some jars..

Can you help me on this...

I am a newbie in  hibernate . I am a java coder.</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Your article is good.  Here I have a id could not be instatantiated  problem. The database dialect which I use is MySQL.</p>
<p>When I search google we could solve it by reverse enginnering procedure by creating hibernate.reveng.xml file and adding some jars..</p>
<p>Can you help me on this&#8230;</p>
<p>I am a newbie in  hibernate . I am a java coder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/comment-page-1/#comment-5404</link>
		<dc:creator>Ganesh</dc:creator>
		<pubDate>Fri, 16 Mar 2007 10:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/#comment-5404</guid>
		<description>I have a HBM mapping whcih includes parent and child.Now while doing a search from the parent table using this HBM it always selects form the child table i need to restrict the child and select columns only form parent.Using inverse=&quot;true&quot; is not solving the probelem</description>
		<content:encoded><![CDATA[<p>I have a HBM mapping whcih includes parent and child.Now while doing a search from the parent table using this HBM it always selects form the child table i need to restrict the child and select columns only form parent.Using inverse=&#8221;true&#8221; is not solving the probelem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jmarcum</title>
		<link>http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/comment-page-1/#comment-317</link>
		<dc:creator>jmarcum</dc:creator>
		<pubDate>Tue, 29 Aug 2006 19:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/2006/07/31/partitioning-in-hibernate/#comment-317</guid>
		<description>Thanks for the article, it solves the partitioning problem I was having.  The bug you describe actually is a &quot;feature&quot; in hibernate.  Some databases (not Oracle) allow you to compare sets in a where clause, like &quot;where (id, name) = (1, &#039;jmarcum&#039;)&quot;.  Because your id is composite, the only way for hibernate to limit by parent in that query is to use both the id and partitionValue.  In order to make this query work in Oracle your hql would need to be something like &quot;from Child c where c.parent.id.id = :id and c.parent.id.partitionValue = :partitionValue&quot;.  See section 14.8 &quot;Where Clause&quot; in the hibernate manual about half a page down. http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#queryhql-where</description>
		<content:encoded><![CDATA[<p>Thanks for the article, it solves the partitioning problem I was having.  The bug you describe actually is a &#8220;feature&#8221; in hibernate.  Some databases (not Oracle) allow you to compare sets in a where clause, like &#8220;where (id, name) = (1, &#8216;jmarcum&#8217;)&#8221;.  Because your id is composite, the only way for hibernate to limit by parent in that query is to use both the id and partitionValue.  In order to make this query work in Oracle your hql would need to be something like &#8220;from Child c where c.parent.id.id = :id and c.parent.id.partitionValue = :partitionValue&#8221;.  See section 14.8 &#8220;Where Clause&#8221; in the hibernate manual about half a page down. <a href="http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#queryhql-where" rel="nofollow">http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#queryhql-where</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
