Interface EmbeddableDiscriminatorMapping

All Superinterfaces:
BasicValuedMapping, BasicValuedModelPart, Bindable, DiscriminatorMapping, Fetchable, FetchOptions, FetchStyleAccess, FetchTimingAccess, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, SelectableMapping, SelectableMappings, SqlExpressible, SqlTypedMapping, ValuedModelPart, ValueMapping, VirtualModelPart
All Known Implementing Classes:
ExplicitColumnDiscriminatorMappingImpl

public interface EmbeddableDiscriminatorMapping extends DiscriminatorMapping, FetchOptions
Details about the discriminator for an embeddable hierarchy.
See Also:
  • Method Details

    • getDiscriminatorValue

      default Object getDiscriminatorValue(String embeddableClassName)
      Retrieve the relational discriminator value corresponding to the provided embeddable class name.
      Throws:
      HibernateException - if the embeddable class name is not handled by this discriminator