Fixed
Details
Assignee
Marco BelladelliMarco BelladelliReporter
Gaetan NandelecGaetan NandelecWorked in
Components
Fix versions
Priority
Major
Details
Details
Assignee
Marco Belladelli
Marco BelladelliReporter
Gaetan Nandelec
Gaetan NandelecWorked in
Components
Fix versions
Priority
Created December 6, 2022 at 5:02 PM
Updated February 9, 2024 at 8:06 AM
Resolved February 9, 2023 at 2:19 PM
Repo to reproduced the issue https://github.com/gaetannandelec-ibboost/hibernate6-discriminatorbug
Post about this issue https://discourse.hibernate.org/t/hibernate-6-wrong-query-generated-with-discriminatorvalue/6984
When the sql query is generated and we have a join on an entity using DiscriminatorValue, the dicriminatorcolumn criteria is added to the where clause rather than the join itself