doctrine/doctrine2 — pull request #317 by FabioBatSilva (2012-04-01 16:38:19+00:00)
Title: Fix DDC-1694

http://www.doctrine-project.org/jira/browse/DDC-1694

if I understand right
Probably this code will be replaced by Benjamin's Code Generator.

Any way, for now I think this is a valid issue..