Class EntityHierarchyBuilder


  • public class EntityHierarchyBuilder
    extends Object
    Helper for dealing with entity inheritance hierarchies in hbm.xml processing. In hbm.xml the super/sub may be split across documents. The purpose of this class is to:
    1. validate that all hierarchies are complete (make sure a mapping does not reference an unknown entity as its super)
    2. ultimately order the processing of every entity to make sure we process each hierarchy "downward" (from super to sub(s)).