<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "JOIN element in hbm for Generatlized Relationship"]]></title>
		<link>http://forums.visual-paradigm.com/posts/32.html</link>
		<description><![CDATA[Latest messages posted in the topic "JOIN element in hbm for Generatlized Relationship"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>JOIN element in hbm for Generatlized Relationship</title>
				<description><![CDATA[ Do we get <JOIN > element in hbm-XML of base class for every generalized(inheritence) relationship in ORM ? or it comes only if the mapped tables are different (i.e. with referential integrety)? <br> <br> If yes , then what would happen if both base class and derived class are mapped to same table? <br> <br> <b>ORM</b><br> ClassBase        ----------------------       table1<br>                       ----------------------       <br>                       ----------------------<br>                       ----------------------<br> DerivedClass   -----------------------       table1<br> <br> <b>hbm-xml</b><br> <br> <hibernate-mapping><br> 	<class name="ClassBase" table="tabel1" lazy="false" discriminator-value="table1"><br> <br> .<br> .<br> .<br> ..<br> <subclass name="Derivedclass" discriminator-value="xyz" lazy="false"><br> access="field"/><br>     <join table="table1"><br> <br> <br> <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2878#21845.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2878#21845.html</link>
				<pubDate><![CDATA[Mon, 25 Feb 2008 23:16:40]]></pubDate>
				<author><![CDATA[ Santm]]></author>
			</item>
			<item>
				<title>JOIN element in hbm for Generatlized Relationship</title>
				<description><![CDATA[ Hello Santm,<br> <br> The <Join> element in hbm.xml is depends on how you specify the inheritance strategy in the class hierarchy. It only be generated if you are using table per sub-class strategy together with the discriminator column defined. Since using table per sub-class strategy already no need to have the discriminator column. May I know why you would like to generate the <Join>?<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2878#21974.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2878#21974.html</link>
				<pubDate><![CDATA[Wed, 27 Feb 2008 15:08:03]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
			<item>
				<title>Re:JOIN element in hbm for Generatlized Relationship</title>
				<description><![CDATA[ Infact we dont want JOIN because this JOIN tries to search for foreign key and in our design we have both base class and derived class mapped to same table. Yes our derived class inheritence strategy is 'table per class' Hierarchy and the derived class is 'table per subclass' hierarchy. <br> <br> As per your documentation, we suppose that derived class should be table per class because we have only one table. However when we try generating code with base class as 'table per class'  & also derived class as 'table per class' we are getting errors that asks  to 'syncronise derived class with ERD'<br> <br> please help.<br> <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2878#22093.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2878#22093.html</link>
				<pubDate><![CDATA[Thu, 28 Feb 2008 16:41:08]]></pubDate>
				<author><![CDATA[ Santm]]></author>
			</item>
	</channel>
</rss>