Fail to delete entity with a composite id using an @IdClass with one of its fields mapped from the id of a @ManyToOne association
Description
Description
I'm migrating from hibernate 5.6.15 to hibernate 6.2.5 and I have noticed some issues when I try to delete an entity that have a compositeId with one of its id field part of a @ManyToOne association.
Entities
Test
I get the following exception :
GitHub repository with sources :
Attachments
2
Activity
Show:
Erwan Moutymbo July 17, 2023 at 9:47 AM
Ah my bad, I have asked because I only saw 1 pull request linked to the issue instead of the usual two (main and 6.2).
Andrea Boriero July 17, 2023 at 9:42 AM
Hi
it has been merged on 6.2 branch.
Erwan Moutymbo July 17, 2023 at 9:09 AM
Hello Andrea Boriero, thanks for the fix ! is it possible to merge it on the 6.2 branch ?
Description
I'm migrating from hibernate 5.6.15 to hibernate 6.2.5 and I have noticed some issues when I try to delete an entity that have a compositeId with one of its id field part of a @ManyToOne association.
Entities
Test
I get the following exception :
GitHub repository with sources :