in Hibernate 5 we had an entity with composite pripary key, @IdClass annotation was used there. After upgrade to H6 (6.2.0.CR4) we face an issue where part of primary key is not returned when querying. It then causes following issue:
I've created a reproducer: https://github.com/hibernate/hibernate-test-case-templates/compare/main...vramik:hibernate-test-case-templates:kc-19323-entity-key-not-returned |