<?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: Disabling foreign key generation in hbm2ddl</title>
	<atom:link href="http://blog.cherouvim.com/disabling-foreign-key-generation-in-hbm2ddl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cherouvim.com/disabling-foreign-key-generation-in-hbm2ddl/</link>
	<description>software engineering for beginners</description>
	<lastBuildDate>Fri, 12 Mar 2010 08:22:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michel</title>
		<link>http://blog.cherouvim.com/disabling-foreign-key-generation-in-hbm2ddl/comment-page-1/#comment-1236</link>
		<dc:creator>Michel</dc:creator>
		<pubDate>Thu, 24 Dec 2009 09:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cherouvim.com/disable-foreign-key-generation-in-hbm2ddl/#comment-1236</guid>
		<description>Cool. thx</description>
		<content:encoded><![CDATA[<p>Cool. thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geir</title>
		<link>http://blog.cherouvim.com/disabling-foreign-key-generation-in-hbm2ddl/comment-page-1/#comment-994</link>
		<dc:creator>Geir</dc:creator>
		<pubDate>Sun, 08 Feb 2009 13:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cherouvim.com/disable-foreign-key-generation-in-hbm2ddl/#comment-994</guid>
		<description>&gt;The most logical question now is “why don’t you want an FK?”.

Depends on which database you are using and what you are doing.

If you never actually join across the tables having a foreign key, the key only gives you referential integrity assurance. Referential integrity can be assured in other ways.

Some databases do not cope with foreign keys and composite primary keys nicely. I have seen examples of tables where the index and key spaces were an order of magnitude larger than the data set. This is a major issue if you have nontrivial amounts of data.</description>
		<content:encoded><![CDATA[<p>&gt;The most logical question now is “why don’t you want an FK?”.</p>
<p>Depends on which database you are using and what you are doing.</p>
<p>If you never actually join across the tables having a foreign key, the key only gives you referential integrity assurance. Referential integrity can be assured in other ways.</p>
<p>Some databases do not cope with foreign keys and composite primary keys nicely. I have seen examples of tables where the index and key spaces were an order of magnitude larger than the data set. This is a major issue if you have nontrivial amounts of data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.cherouvim.com/disabling-foreign-key-generation-in-hbm2ddl/comment-page-1/#comment-979</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 17 Jan 2009 21:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cherouvim.com/disable-foreign-key-generation-in-hbm2ddl/#comment-979</guid>
		<description>Cheers for that - save me heaps of time</description>
		<content:encoded><![CDATA[<p>Cheers for that &#8211; save me heaps of time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.cherouvim.com/disabling-foreign-key-generation-in-hbm2ddl/comment-page-1/#comment-966</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 05 Sep 2008 04:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cherouvim.com/disable-foreign-key-generation-in-hbm2ddl/#comment-966</guid>
		<description>Awesome. I need to eliminate foreign keys for my history tables which are mostly duplicates of my regular JPA entities.</description>
		<content:encoded><![CDATA[<p>Awesome. I need to eliminate foreign keys for my history tables which are mostly duplicates of my regular JPA entities.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
