Interface TypeConfigurationAware

  • All Known Implementing Classes:
    EnumType

    public interface TypeConfigurationAware
    Optional contract for Types that would like to be part of the scoping process of the TypeConfiguration, specifically to receive access to the TypeConfiguration it is scoped to. For additional information on TypeConfiguration scoping, see TypeConfiguration

    Note that it is illegal for a Type to implement TypeConfigurationAware and at the same time be scoped to more than one TypeConfiguration. Hibernate will enforce this internally which is why getTypeConfiguration() is exposed here.