doctrine/doctrine2 — pull request #251 by FabioBatSilva (2012-01-06 17:20:51+00:00)
Title: [DDC-657] Convert scalar value if it's an entity field

Hello,

This path fix : http://www.doctrine-project.org/jira/browse/DDC-657
Has been added the declaring class in a scalar result, that allow get the type from the field mapping.

Please tell me if can I make something better.

Thanks..