Deal with Doctrine entity having a one-to-one nullable relationship
Merge pull request #197 from jpetitcolas/optional_onetoone

[WIP] Issue with one-to-one nullable relationship