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!
|