I have a Spring Boot project I'm upgrading from 2.7.7 to 3.0.2 which involves an upgrade from Hibernate 5.6.14.Final to Hibernate 6.1.6.Final. The app works great using Boot 2.7.7/Hibernate 5.6.14, but the app fails to start after the upgrade to Hibernate 6 due to the following: Caused by: java.lang.IllegalArgumentException: Unable to locate Attribute with the given name [name] on this ManagedType [java.lang.Object] at org.hibernate.metamodel.model.domain.AbstractManagedType.checkNotNull(AbstractManagedType.java:281) ~[hibernate-core-6.1.6.Final.jar:6.1.6.Final] The part of the model in question uses Java generics rather heavily. I've attached a zip file with a gradle project that outlines the issue. The code is stripped down from the actual use case, but it should serve well to highlight the problem. |