Doctrine 2 - ORM

[GH-501] Allow 0 id for Entity