Skip to content

Conversation

@gavinking
Copy link
Member

@gavinking gavinking commented Jan 6, 2025

[Please describe here what your change is about]


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.


https://hibernate.atlassian.net/browse/HHH-19021

I completely understand the desire to not go to the SessionFactoryImplementor
for everything, and I'm totally onboard with that, but this isn't actually
helping at all (if there ever came a time when we needed to, we can inline
those convenience methods completely *trivially*). If we want to actually not
depend on the SFI, we need to start passing RuntimeMetamodelsImplementor around
instead. That would be *awesome* but it's probably a lot more work.

For now the value of the convenience methods is clear, it seems to me.
@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Jan 6, 2025

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: [bd5c0a2, a479451]

› This message was automatically generated.

@gavinking gavinking merged commit 9ce618e into hibernate:main Jan 6, 2025
20 of 24 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