I've search around for the answer to this question. I haven't found this exact scenario on the wiki or mailing list. It is related but different than this FAQ
http://www.hibernate.org/117.html#A15.
Scenario: I have superclass BaseFoo and extended it to Foo1 and Foo2. I have used the table-per-hierarchy (I think that's your terminology for this) using a field discriminator. Unlike the scenario presented in the above FAQ, I would like a many-to-many set that is mapped to return BaseFoo (and based on the discriminator return either Foo1 or Foo2).
Based on the FAQ answer, and the fact that when I return my Parent class the BaseFoo set is empty I am assuming this is not supported. Can someone confirm? Is this something overly complex, or is there an opporunitiy for me to add this support to the Hibernate source code? Or is this coming in Hibernate3? (I think the FAQ scenario is due in 3)?
Thanks in advance for the clarification.
Martin