1. Support for class hierarchy as components? forum.hibernate.orgHello all, Hibernate is really cool, simple and elegant. I studied Chapter 6: Components (v2.0.2) and would like to know if subcomponents (similarly to class/subclass concept for mapping a class hierarchy) could be somehow supported? I have checked the Hibernate 2.0 DTD and it does not seem to support it. Am I right? The example from the Hibernate reference document shows ... |
2. |
3. Mapping of the component hierarchy (component subclasses) forum.hibernate.orgHi, I can't figure out how I would map the contained object (a component) that in turn has its own inheritance hierarchy. In the example below the Containee class is the abstract class and is contained inside of Container class. The Containee has two subclasses: ContaineeImplA and ContaineeImplB. The question is how would I tell Hibernate to instantiate/persists the correct subclass ... |
4. Mapping of components with hierarchy forum.hibernate.org |
5. comonent class hierarchy, polymorphic component forum.hibernate.org |