<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Generalisations and ORM"]]></title>
		<link>http://forums.visual-paradigm.com/posts/33.html</link>
		<description><![CDATA[Latest messages posted in the topic "Generalisations and ORM"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Generalisations and ORM</title>
				<description><![CDATA[ Jick<br> <br> I have a weird problem. Given the following class diagram which generates the following XSD why does the ORM decide to stick all the attributes into the superclass? <br> <br> If I reverse the generalization then it generates the correct ERD but then the XSD is reversed.<br> <br> Any thoughts?<br> <br> Thanks in advance<br> <br> Toby<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18440.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18440.html</link>
				<pubDate><![CDATA[Tue, 10 Jul 2007 21:49:07]]></pubDate>
				<author><![CDATA[ TobyAnscombe]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Hello Toby,<br> <br> Please try:<br> 1. Right-click on the Super class<br> 2. Select Open Specification from the popup menu<br> 3. Select ORM Class Detail<br> 4. Press on Subclasses...<br> 5. Select the SubClasses from the Inheritance Strategy dialog box<br> 6. Set the strategy to be "Table per class hierarchy"<br> 7. Press Apply<br> 8. Confirm<br> 9. Right-click on the diagram and select "Synchronize to Entity Relationship Diagram" from the popup menu<br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18448.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18448.html</link>
				<pubDate><![CDATA[Wed, 11 Jul 2007 08:46:33]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Hi Jick,<br> <br> I tried that (both options) and no joy. I have had it work on other projects but it seems to occur for some classes and not others randomly.<br> <br> I have created a new project with three classes and tried it and I still get a single class or three separate classes...<br> <br> <br> Attached is the vpp file..]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18500.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18500.html</link>
				<pubDate><![CDATA[Fri, 13 Jul 2007 03:59:35]]></pubDate>
				<author><![CDATA[ TobyAnscombe]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Hi TobyAnscombe,<br> <br> I have captured a movie to show you how to do this. Please watch at:<br> <a href="http://files3.visual-paradigm.com/200707/Jick/generalization-hierarchy.html" target="_blank" rel="nofollow">http://files3.visual-paradigm.com/200707/Jick/generalization-hierarchy.html</a><br> <br> Best regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18502.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18502.html</link>
				<pubDate><![CDATA[Fri, 13 Jul 2007 08:51:21]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Hi Jick - just downloading the newer version for my other problem...<br> <br> This one may be my understanding that is at fault...<br> <br> In the above diagram, class A could (and should) be an interface; it should never be implemented as a physical class. My expectation would be that via generalization the two attributes would propagate to the subclasses.<br> <br> A real-life example: I am modelling a number of lookup tables (eye colour, hair colour etc). Each lookup table has four attributes: ID (int), Text(varchar(255), Effective From(date) and Effective To (date). I would like to have a superclass which has the repeatable attributes and in the subclass only have the relevant  attributes.<br> <br> The class & ERD diagrams should look like below.<br> <br> I have managed to achieve  the desired result but it seems not to work now. <br> <br> Any ideas?]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18509.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18509.html</link>
				<pubDate><![CDATA[Fri, 13 Jul 2007 17:35:22]]></pubDate>
				<author><![CDATA[ TobyAnscombe]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Hi Toby,<br> <br> Thank you for your explanation. I have passed your request onto our team for further feasibility studies. Once there is a feedback, I will get back to you.<br> <br> Have a nice weekend!<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18512.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18512.html</link>
				<pubDate><![CDATA[Fri, 13 Jul 2007 18:15:13]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Hi Toby,<br> <br> I am sorry to say that we do not support this kind of mapping strategy at this moment.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18524.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18524.html</link>
				<pubDate><![CDATA[Mon, 16 Jul 2007 11:37:58]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Generalisations and ORM</title>
				<description><![CDATA[ Thanks Jick - oddly enough, it works when there is only one class in the chain but in reverse!<br> <br> What I find a bit weird (may be a bug) is that when you generate an ERD from the diagram you end up with the superclass being generated not the subclass which is the exact opposite to what would be expected.<br> <br> Take a look at the following diagrams:<br> <br> The first is a basic two class model with generalisation.<br> <br> The second is what happens when you InstantReverse to a XSD<br> <br> The third is what happens when you sync to ERD.<br> <br> The first two do what I would expect, the ERD looks to be the inverse of what is expected; the super and sub classes have reversed.]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2304#18527.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2304#18527.html</link>
				<pubDate><![CDATA[Mon, 16 Jul 2007 15:41:50]]></pubDate>
				<author><![CDATA[ TobyAnscombe]]></author>
			</item>
	</channel>
</rss>