public class EntityHierarchyBuilder extends Object
hbm.xml
processing. In hbm.xml
the super/sub may be split across documents.
The purpose of this class is to:Constructor and Description |
---|
EntityHierarchyBuilder() |
Modifier and Type | Method and Description |
---|---|
List<EntityHierarchySourceImpl> |
buildHierarchies()
To be called after all mapping documents have been processed (via
indexMappingDocument(org.hibernate.boot.model.source.internal.hbm.MappingDocument) ) |
void |
indexMappingDocument(MappingDocument mappingDocument)
Called for each mapping document.
|
public List<EntityHierarchySourceImpl> buildHierarchies() throws HibernateException
indexMappingDocument(org.hibernate.boot.model.source.internal.hbm.MappingDocument)
)HibernateException
- Indicates subclass mappings still waiting to be linked to their super typespublic void indexMappingDocument(MappingDocument mappingDocument)
mappingDocument
- The hbm.xml
document to indexCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.