-->
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: is multi-level inheritance possible?
PostPosted: Mon May 24, 2004 7:46 pm 
Beginner
Beginner

Joined: Mon May 24, 2004 7:39 pm
Posts: 37
Location: Charlotte
Hello,

I am wondering if it is possible for me to have a subclass of a subclass with Hibernate? I found a post referencing this question: http://forum.hibernate.org/viewtopic.ph ... nheritance

but, I didn't seem to get an answer from this. Any help would be appreciated.

Shown below is what I am referring to:
----------------------------------------------------------
<class name="Person" table="person">
<subclass name="User" table="user">
<subclass name="Manager" table="manager">
...
</subclass>
</subclass>
<class>
----------------------------------------------------------

Thanks. If this is possible, could you explain how the discriminator values would work with this situation?

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 24, 2004 9:22 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Of course it is possible. Just try it.


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.