At the moment, Hibernate is using a mix of new and legacy descriptors for mapping entity discriminators. The legacy contracts include:
* {{org.hibernate.persister.entity.DiscriminatorMetadata}} * {{org.hibernate.persister.entity.DiscriminatorType}}
The corresponding new runtime mapping contract is:
* {{org.hibernate.metamodel.mapping.EntityDiscriminatorMapping}}
Also consider consolidations with mapping the discriminator portion of any and many-to-any associations. |
|