Closed yaharga closed 12 months ago
This could potentially be a bug in the Hibernate code, but to be sure, we need a reproducer for this. Please use the test case template (https://github.com/hibernate/hibernate-test-case-templates/blob/master/orm/hibernate-orm-6/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java) to reproduce this, and if you are successful, attach that to a new issue in the issue tracker(https://hibernate.atlassian.net).
This does not appear to be an issue with the JPA spec.
I'm getting the error in the title when I am trying to do the following:
However, if I use a
Case
instead ofSimpleCase
, it works fine:The error I get is the following:
When I check the method, everything looks fine. Even the IDE doesn't complain (see code).