Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a TypeContributor that registers all supported types #166

Closed
vladmihalcea opened this issue Jan 14, 2020 · 1 comment
Closed

Create a TypeContributor that registers all supported types #166

vladmihalcea opened this issue Jan 14, 2020 · 1 comment
Assignees
Milestone

Comments

@vladmihalcea
Copy link
Owner

As mentioned by @jwgmeligmeyling on my blog:

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.

@vladmihalcea vladmihalcea added this to the 2.10.0 milestone Jan 14, 2020
@vladmihalcea vladmihalcea removed this from the 2.10.0 milestone Apr 18, 2020
@vladmihalcea vladmihalcea self-assigned this Apr 6, 2022
@vladmihalcea vladmihalcea added this to the 2.15.0 milestone Apr 6, 2022
@vladmihalcea vladmihalcea changed the title Create a predefined MetadataBuilderContributor that registers all supported types Create a TypeContributor that registers all supported types Apr 6, 2022
@vladmihalcea
Copy link
Owner Author

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant