-->
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.  [ 2 posts ] 
Author Message
 Post subject: Subclasss of subclasses all with 1 discriminator
PostPosted: Sun Sep 05, 2004 1:58 am 
Newbie

Joined: Fri Sep 03, 2004 5:45 pm
Posts: 3
Location: Seattle
Hibernate version:
2.1.6
Mapping documents:
<class>
<discriminator column="NUM"
<subclass ... discriminator-value="1" ...>
<discriminator column="LETTER"
<subclass discriminator-value="A" ...>

Do I understand correctly that subclasses of subclasses
have to discriminate on the SAME column for the entire heirarchy
and that the above which has a second discrimintor is NOT allowed?

-Paul


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 05, 2004 2:16 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Correct for HB2, but what you want can be done in Hibernate3.


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

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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.