-
Notifications
You must be signed in to change notification settings - Fork 96
NullPointerException
when retrieving @ManyToOne
composite table with additional properties in @IdClass
#2007
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
Comments
Not yet, I had to focus on the Hibernate ORM 7 upgrade. |
dreab8
added a commit
to dreab8/hibernate-reactive
that referenced
this issue
Jan 4, 2025
…oOne with basic attributes
dreab8
added a commit
to dreab8/hibernate-reactive
that referenced
this issue
Jan 4, 2025
… mixing ManyToOne with basic attributes
dreab8
added a commit
to dreab8/hibernate-reactive
that referenced
this issue
Jan 4, 2025
…oOne with basic attributes
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 7, 2025
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 7, 2025
DavideD
pushed a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 7, 2025
…oOne with basic attributes
DavideD
pushed a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 7, 2025
… mixing ManyToOne with basic attributes
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 7, 2025
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 7, 2025
@DavideD, this bugfix hasn't been released yet, has it? Would it be possible to backport it to 2.4? |
DavideD
pushed a commit
to DavideD/hibernate-reactive
that referenced
this issue
Apr 7, 2025
…oOne with basic attributes
DavideD
pushed a commit
to DavideD/hibernate-reactive
that referenced
this issue
Apr 7, 2025
… mixing ManyToOne with basic attributes
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Apr 7, 2025
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Apr 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When retrieving an entity that models a composite table between two other tables and uses an
@IdClass
that includes the IDs of the related entities and an additional property as the composite primary key, the query fails with aNullPointerException
. The issue occurs in version>=2.4.0.Final
, but not in2.3.1.Final
.For example, given the following simple entities:
The entities are connected through the following relationship entity, which uses an
@IdClass
:When persisting exemplary entities and retrieving the
Delivery
relationship with a query such asthe following exception is thrown:
Please find the following reproducer, which can be executed with
./gradlew run
: hibernate-reactive-idclass-issue.zipBest regards,
Janek
The text was updated successfully, but these errors were encountered: