hibernate-orm
hibernate-orm copied to clipboard
Testing the instance of "BindType" but using "Type" afterwards.
A "ClassCastException" is thrown in the case of an HQL query with a "ManyToOne" relationship.
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: [30ee05977d9767717bfd2bd9130c735e8b1189cd]
› This message was automatically generated.
When modifying the query to a native query, there is no issue anymore.
Thanks for your attempt to contribute, but please create a fresh PR against the main branch and include a test case that provokes this bug.