public interface Metadata
NOTE : for the time being this is essentially a copy of the legacy Mappings contract, split between reading the mapping information exposed here and collecting it via InFlightMetadataCollector
| 限定符和类型 | 方法和说明 |
|---|---|
PersistentClass |
getEntityBinding(String entityName)
Retrieves the PersistentClass entity mapping metadata representation for
the given entity name.
|
Collection<PersistentClass> |
getEntityBindings()
Retrieves the PersistentClass entity metadata representation for known all entities.
|
Collection<PersistentClass> getEntityBindings()
Returned collection is immutable
PersistentClass getEntityBinding(String entityName)
entityName - The entity name for which to retrieve the metadata.null if no matching entity found.Copyright © 2019. All rights reserved.