To keep the same logic as other ORMs, could you please let the method `getOneOrNullResult`?

`getOneOrNullResult` will return null if there is no or more than one result (and so we handle that case in the controller).
Whereas `getSingleResult` will throw an Exception if there is more than one or zero result.

Then, I'll merge the PR.

Thanks,