-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: <join> within <joined-subclass> not allowed?
PostPosted: Wed Mar 15, 2006 5:49 pm 
Newbie

Joined: Wed Mar 15, 2006 5:37 pm
Posts: 3
I am trying to map a legacy data-model that, due to SQLServer2000 table size restrictions, splits a single entity into multiple tables with a shared key. The entity in question is also the child node of a polymorphic hierarchy (i.e Employee where Employee extends Person), which is mapped as a joined-subclass. It looks like I should be using the <join> element to bring in all the data from the various tables that make up the entity (think EMPLOYEE_ADDRESS, EMPLOYEE_NAME, etc..., but the these tables should not be mapped to the root class), but the Hibernate3.1 DTD does not allow a <join> inside a <joined-subclass>. Is there any way to fix this? Should I just map it using a <one-to-one> even though the tables do not repesent stand-alone business objects? Any help would be greatly appreciated!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.