Package org.hibernate.boot.spi
Interface MetadataBuilderContributor
Deprecated, for removal: This API element is subject to removal in a future version.
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 TypeMethodDescriptionvoidcontribute(MetadataBuilder metadataBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Perform the process of contributing to theMetadataBuilder.
-
Method Details
-
contribute
Deprecated, for removal: This API element is subject to removal in a future version.Perform the process of contributing to theMetadataBuilder.- Parameters:
metadataBuilder- TheMetadataBuilder, to which to contribute.
-
TypeContributor,FunctionContributororAdditionalMappingContributorinstead depending on need