<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Is there a way to generate an hbm.xml for each subclass?"]]></title>
		<link>http://forums.visual-paradigm.com/posts/32.html</link>
		<description><![CDATA[Latest messages posted in the topic "Is there a way to generate an hbm.xml for each subclass?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Is there a way to generate an hbm.xml for each subclass?</title>
				<description><![CDATA[ I have a model in which I have a class A with multiple subclasses (B, C, D). I use table-per-subclass OR mapping strategy to map each of these classes to entities TableA, TableB, TableC, TableD.<br> When I generate code (POJOs) I get the 4 classes A.java, B.java, C.java, D.java generated, but only 1 hibernate mapping file (hbm.xml) A.hbm.xml.<br> <br> Is there a way so that I can generate more than one hbm.xml file for a class hierarchy? I would like to generate 4 hibernate mapping files.<br> This is important so that when one of the sub-classes is further extended, lets say Z extends B, I only need to worry about adding the new Z.java class and new Z.hbm.xml class instead of modifying the one big hibernate mapping file that is generated now.<br> <br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/3078#32195.html</guid>
				<link>http://forums.visual-paradigm.com/posts/3078#32195.html</link>
				<pubDate><![CDATA[Wed, 30 Apr 2008 04:49:44]]></pubDate>
				<author><![CDATA[ screagan]]></author>
			</item>
			<item>
				<title>Re:Is there a way to generate an hbm.xml for each subclass?</title>
				<description><![CDATA[ Hi screagan,<br> <br> Thanks for your post. We are sorry that currently we do not support generating hbm.xml files for each class, but we will consider to support it. Once there is any news about this issue, I'll come back to you immediately.<br> <br> If there are any inquiries, please do not hesitate to contact me.<br> <br> Best regards,<br> Lilian Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/3078#32215.html</guid>
				<link>http://forums.visual-paradigm.com/posts/3078#32215.html</link>
				<pubDate><![CDATA[Wed, 30 Apr 2008 13:16:02]]></pubDate>
				<author><![CDATA[ LilianWong]]></author>
			</item>
			<item>
				<title>Re:Is there a way to generate an hbm.xml for each subclass?</title>
				<description><![CDATA[ Hi screagan,<br> <br> Regarding to the generating separating hbm.xml files for classes, we decided to support it in VP Site 3.3 SP1 (DB-VA 4.3 SP1) which will be released around September. Once the feature is available, I'll come back to you immediately.<br> <br> Best regards,<br> Lilian Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/3078#32603.html</guid>
				<link>http://forums.visual-paradigm.com/posts/3078#32603.html</link>
				<pubDate><![CDATA[Fri, 2 May 2008 16:55:09]]></pubDate>
				<author><![CDATA[ LilianWong]]></author>
			</item>
	</channel>
</rss>