Given the following entities:
When the following query is executed:
"SELECT f FROM Foo f"
Bar objects that get returned have a null ID (i.e., bar#foo == null)
This happens because the fix for sets ToOne#referenceToPrimaryKey for Bar#foo to false , which ultimately leads to the ID not being resolved.