-->
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: Possible extention: 'polymorphism' property for 'subclass'?
PostPosted: Thu Nov 18, 2004 10:38 am 
Newbie

Joined: Thu Nov 18, 2004 10:07 am
Posts: 7
Halo,

I want to know, if it possible and if it make sense to extend the attributes of the 'subclass' or 'joined-subclass' with 'polymorphism'-property = "implicit" or "explicit"? Thus it will be possible to control the selection of complicated class hierarchies, declared in a single or joined table.

The 'polymorphism' property is now available only for "classes" with class per table mapping. I know that I can specify "where class=?"-parameters each time I execute a query. My intension is to automize the selection, so it will be not necessary, to rewrite the queries each time I add new subclass.

I am asking whether is actually possible, because I am not sure, what are the impacts of such extension for some other features, like associations or "outer join" selects.

Regards
Peter

Thanks for the good project!


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.