You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps we should provide a basic implementation for MetadataBuilderContributor in hibernate-types? Although some of the types may not be able to load due to missing classes on the classpath. We’d have to use some reflection for that. On the other hand, pointing people to the MetadataBuilderContributor may make hibernate-types easier to use. The typedefs grow quite old after a while…
We could perhaps even register the MetadataBuilderContributor using the service provider API, although this might have too many side effects.
There could be a predefined MetadataBuilderContributor containing all supported types.
It should be tested to see if registering MetadataBuilderContributor by default via the Service Loader mechanism is safe.
The text was updated successfully, but these errors were encountered:
vladmihalcea
changed the title
Create a predefined MetadataBuilderContributor that registers all supported types
Create a TypeContributor that registers all supported types
Apr 6, 2022
As mentioned by @jwgmeligmeyling on my blog:
There could be a predefined
MetadataBuilderContributor
containing all supported types.It should be tested to see if registering
MetadataBuilderContributor
by default via the Service Loader mechanism is safe.The text was updated successfully, but these errors were encountered: