-->
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: Which (if any) inheritance option is scalable?
PostPosted: Tue May 31, 2005 8:26 pm 
Newbie

Joined: Sun Jan 30, 2005 9:43 pm
Posts: 16
I'm building an application where a potentially large number of derived classes are generated.

Which (if any) of the inheritance options is the most scalable in terms of supporting a large number persistent classes derived from a single base class?

The most convenient (coding wise) would appear to be "Table per class" using <joined-subclass> and with no discriminator - since this would use an implicit discriminator. However, I suspect that this would won't scale very well because a large number of joined tables need to be examined to determine the type of a subclass instance. Right?

So which option would you recommend?

Thanks for Hibernate!
Tony.


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