Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of beregond:
Fixes problem when executing native query:
$rsm = new ResultSetMapping();
$rsm->addFieldResult('p', 'id', 'id');
$rsm->addFieldResult('p', 'name', 'name');
$rsm->addJoinedEntityResult('DbBundle:User', 'u', 'p', 'user');
$rsm->addFieldResult('u', 'user_id', 'id');
Hydrator couldn't find cached metadata, when "joined entity result" class name wasn't fully qualified name (as in the example above).
Comment created by @beberlei:
A related Github Pull-Request [GH-554] was closed
Comment created by @FabioBatSilva:
Merged : dea37ed
Issue was closed with resolution "Fixed"
Comment created by @doctrinebot:
A related Github Pull-Request [GH-554] was closed: