Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-7365
Mapping of Dependent Class with @Id on @OneToOne relationship fails
See attached test case. Change the mapping of the Child - Parent relationship in Child from @Id to use @MapsId and the test suite passes. Note that "no spring" test executes both mapping cases fine. Im unsure if this is a Spring problem or something in the Hibernate Adapter / EntityManager.