Actually, it seems the problem is that the inverse one-to-one is tried to be fetched by the unique key but no entry is added for the Entity A. I have a preliminary fix for this, but this will need some discussion.