Interface MetadataBuilderContributor


@Deprecated(forRemoval=true) public interface MetadataBuilderContributor
Deprecated, for removal: This API element is subject to removal in a future version.
Use settings, TypeContributor, FunctionContributor or AdditionalMappingContributor instead depending on need
A bootstrap process hook for contributing settings to MetadataBuilder.

Generally this is used from JPA bootstrapping where MetadataBuilder is not accessible.

Implementations can be discovered. For historical reasons, an implementation can also be named using the "hibernate.metadata_builder_contributor" setting, though discovery should be preferred.

Since:
5.3
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contribute(MetadataBuilder metadataBuilder)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Perform the process of contributing to the MetadataBuilder.
  • Method Details

    • contribute

      void contribute(MetadataBuilder metadataBuilder)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Perform the process of contributing to the MetadataBuilder.
      Parameters:
      metadataBuilder - The MetadataBuilder, to which to contribute.