Skip to content

HHH-19575 Ensure null struct is fetched as null embeddable #10601

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

Merged
merged 4 commits into from
Jul 24, 2025

Conversation

beikov
Copy link
Member

@beikov beikov commented Jul 22, 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-19639
https://hibernate.atlassian.net/browse/HHH-19575

@AfterEach
protected void cleanupTest(SessionFactoryScope scope) {
scope.inTransaction( session -> {
session.createQuery( "delete StructHolder" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
DavideD and others added 3 commits July 24, 2025 11:28
In Hibernate Reactive, `ReactiveEmbeddableFetchImpl#createInitializers`
needs to access the value to override the initializer created by ORM.
@beikov beikov merged commit b75e823 into hibernate:6.6 Jul 24, 2025
30 of 32 checks passed
@beikov beikov deleted the HHH-19575-6.6 branch July 24, 2025 15:20
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.

2 participants