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

HHH-18983 work on Generators #9496

Merged
merged 4 commits into from
Dec 23, 2024

Conversation

gavinking
Copy link
Member

@gavinking gavinking commented Dec 23, 2024

This PR allows regular "value" (i.e. non-@Id) generators to implement Configurable and ExportableProducer, finally putting them on equal footing with id generators.

See https://hibernate.atlassian.net/browse/HHH-18983.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Dec 23, 2024

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [d7a49e3, f1d65e9]

› This message was automatically generated.

return type.getName();
}
return generatorConfig.strategy();
return !Objects.equals( type, Generator.class ) ? type.getName() : generatorConfig.strategy();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
GenericGenerator.strategy
should be avoided because it has been deprecated.
@gavinking gavinking changed the title work on Generators HHH-18983 work on Generators Dec 23, 2024
…enerators

by letting value generators implement Configurable and ExportableProducer
@gavinking gavinking force-pushed the generator-cleanups-for7 branch 2 times, most recently from 8a5fdf5 to 909f479 Compare December 23, 2024 12:25
@gavinking gavinking force-pushed the generator-cleanups-for7 branch from 909f479 to f1d65e9 Compare December 23, 2024 15:18
@gavinking gavinking merged commit 1a8cbad into hibernate:main Dec 23, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant