I have a One-To-Many relation with the Many-entity having an composite id with AttributeOverrides. This works fine with 6.2.0-CR3 and starts failing with CR4.
java.lang.ClassCastException: class org.hibernate.mapping.BasicValue cannot be cast to class org.hibernate.mapping.ToOne (org.hibernate.mapping.BasicValue and org.hibernate.mapping.ToOne are in unnamed module of loader 'app')