<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.ormfoundation.org/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>Open Discussion &amp; Feature Requests</title><link>http://www.ormfoundation.org/forums/10.aspx</link><description>This is where you can discuss your suggestions for functions that are not provided by the current release of the NORMA tool. You can also ask questions on how to use the tool.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Re: On FKs and Subtype PKs</title><link>http://www.ormfoundation.org/forums/thread/1663.aspx</link><pubDate>Sat, 28 Mar 2009 19:45:33 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1663</guid><dc:creator>Juan Ignacio Gel&amp;#243;s</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1663.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1663</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Matthew, gonna try the next release. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: On FKs and Subtype PKs (reply from Matthew Curland)</title><link>http://www.ormfoundation.org/forums/thread/1662.aspx</link><pubDate>Sat, 28 Mar 2009 19:44:21 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1662</guid><dc:creator>Juan Ignacio Gel&amp;#243;s</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1662.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1662</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="margin-bottom:10px;"&gt;&lt;div&gt;&lt;div class="im"&gt;&lt;div style="font-size:0.9em;font-weight:bold;"&gt;&lt;a href="http://www.ormfoundation.org/forums/p/558/1659.aspx#1659" target="_blank"&gt;Re: On FKs and Subtype PKs&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-size:0.65em;"&gt;By Matthew Curland in Open Discussion &amp;amp; Feature Requests&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-size:0.9em;"&gt;&lt;p&gt;Yes,
it&amp;#39;s a bug. The name generation code treats a reference from a
separated subtype table as an identifier instead of a reference, and
this code was kicking in for your case (a reference to a separated
table) as well.&lt;/p&gt;&lt;p&gt;This is fixed in changeset 1374 on sourceforge.&lt;/p&gt;&lt;p&gt;-Matt&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Re: On FKs and Subtype PKs</title><link>http://www.ormfoundation.org/forums/thread/1661.aspx</link><pubDate>Sat, 28 Mar 2009 19:43:04 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1661</guid><dc:creator>Juan Ignacio Gel&amp;#243;s</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1661.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1661</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Attaching: complete model file:&amp;nbsp; Base.orm&lt;br /&gt;&lt;/p&gt;</description></item><item><title>On FKs and Subtype PKs</title><link>http://www.ormfoundation.org/forums/thread/1660.aspx</link><pubDate>Sat, 28 Mar 2009 19:37:54 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1660</guid><dc:creator>Juan Ignacio Gel&amp;#243;s</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1660.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1660</wfw:commentRss><description>&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;&amp;nbsp;Hi all,&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;This post was already answered by Matthew Curland (I&amp;#39;m including his answer as a reply below), I&amp;#39;m posting it again as a reference in case someone else has the same issue.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;----&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;In the diagrams below, note the two &amp;quot;&lt;b&gt;Id&lt;/b&gt;&amp;quot; columns in table &lt;b&gt;División&lt;/b&gt;: &lt;b&gt;Id1 &lt;/b&gt;and &lt;b&gt;Id2&lt;/b&gt;.&lt;b&gt; d2 &lt;/b&gt;is a FK to the &lt;b&gt;Empresa &lt;/b&gt;table&amp;#39;s PK, which in turn it&amp;#39;s this subtype&amp;#39;s FK for its &lt;b&gt;Entidad &lt;/b&gt;supertype&amp;#39;s PK.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;&lt;br /&gt;Also in table &lt;b&gt;Empresa&lt;/b&gt;, notice the column &lt;b&gt;DueñaId&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;&lt;br /&gt;Having the DefaultPopularReferenceModeNames settings shown in the image, I would have expected the hird column&amp;#39;s name in table &lt;b&gt;División&lt;/b&gt; to be &amp;quot;Empresa&amp;quot;, and column &lt;b&gt;Empresa.DueñaId &lt;/b&gt;to be named &amp;quot;Dueña&amp;quot;.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;&lt;br /&gt;Do I have any way to prevent these two issues? The &lt;b&gt;Id1&lt;/b&gt;, &lt;b&gt;Id2 &lt;/b&gt;column names happen in a couple more relational tables througout the rest of the diagram. I won&amp;#39;t be able to live with those in the final production database, so I will end up just renaming the column in the relational view, with the accompanying annoyances of having to rename them each time the model is refreshed...&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;&lt;br /&gt;(HELP!)&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&lt;/font&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>