Castle ActiveRecord Bug?

Or per­haps it was actu­ally NHiber­nate at fault. I was try­ing to set up a many-to-many rela­tion­ship with attrib­utes on the asso­ci­a­tion table and the ActiveRe­cord Cre­ateSchema call just kept com­plain­ing that my asso­ca­tion table already exists and can­not be cre­ated again.

After an hour or so of head-scatching, turns out the error only occurs when I use GUIDs as the pri­mary key in the asso­ci­a­tion table. Switch­ing to good old “int” solved every­thing. I won­der if that has been fixed in the trunk, I should go code spelunking.

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.