| We have a application that is heavily relying on composite PKs. Among them are two models that share the same PK class and have a @OneToOne relationship between them declared. This works fine with Hibernate up to 5.2.13 (including). However, something seems to have broken this onwards because it consistently fails with 5.2.14 and up to 5.2.17. Please find the attached example project (Eclipse project with Maven POM). |