<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://thatstupidclub.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Loser-X : .NET, Castle</title><link>http://thatstupidclub.com/blogs/loser-x/archive/tags/.NET/Castle/default.aspx</link><description>Tags: .NET, Castle</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Castle ActiveRecord Bug?</title><link>http://thatstupidclub.com/blogs/loser-x/archive/2008/02/26/castle-activerecord-bug.aspx</link><pubDate>Mon, 25 Feb 2008 19:20:15 GMT</pubDate><guid isPermaLink="false">5dc09f4e-5e2a-40c3-a214-0caa5b7b1fc6:1417</guid><dc:creator>loser-x</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Or perhaps it was actually NHibernate at fault. I was trying to set up a &lt;a href="http://www.castleproject.org/activerecord/documentation/trunk/usersguide/relations/hasandbelongs.html"&gt;many-to-many relationship&lt;/a&gt; with attributes on the association table and the ActiveRecord &lt;em&gt;CreateSchema&lt;/em&gt; call just kept complaining that my assocation table already exists and cannot be created again.&lt;/p&gt;  &lt;p&gt;After an hour or so of head-scatching, turns out the error only occurs when I use GUIDs as the primary key in the association table. Switching to good old &amp;quot;int&amp;quot; solved everything. I wonder if that has been fixed in the trunk, I should go code spelunking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://thatstupidclub.com/aggbug.aspx?PostID=1417" width="1" height="1"&gt;</description><category domain="http://thatstupidclub.com/blogs/loser-x/archive/tags/.NET/default.aspx">.NET</category><category domain="http://thatstupidclub.com/blogs/loser-x/archive/tags/Development/default.aspx">Development</category><category domain="http://thatstupidclub.com/blogs/loser-x/archive/tags/Castle/default.aspx">Castle</category></item></channel></rss>