Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of peterjmit:
Backport patch from PR #1045 to 2.3 branch.
@ocramius - I'm not sure if this is viable, but based on the comments from people it could be helpful to have this fixed in 5.3? I'm not 100% sure whether PHP or Doctrine is at fault here?
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1046] was closed: