Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNDY3MWFmMjFl...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15949?atlOrigin=eyJpIjoiNDY3MW...
) HHH-15949 (
https://hibernate.atlassian.net/browse/HHH-15949?atlOrigin=eyJpIjoiNDY3MW...
) Make MetabataBuilderContributor and TypeContributor discoverable (JPA bootstrap) (
https://hibernate.atlassian.net/browse/HHH-15949?atlOrigin=eyJpIjoiNDY3MW...
)
Change By: Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
During JPA bootstrap, make MetabataBuilderContributor and TypeContributor discoverable (in
the Java service sense). This removes the need for {{hibernate.type_contributors}},
{{TypeContributorList}} and {{hibernate.metadata_builder_contributor}}
At the same time, deprecate {{TypeContributorList}} and {{MetadataContributor}}, in
addition to the setting references on {{JpaSettings}}
----
We have two somewhat similar-looking things: {{MetadataContributor}} and
{{MetadataBuilderContributor}}.
EDIT: I think they _are_ actually different in terms of what they can do.
But I still think it’s weird that something in the package {{org.hibernate.boot.spi}} is
so specific to the JPA bootstrap process. It seems like either:
* it should be in {{org.hibernate.jpa.boot.spi}}, or
* it should be discoverable via Java service loading.
(
https://hibernate.atlassian.net/browse/HHH-15949#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15949#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:fa7bc5f )