Doctrine 2 - ORM

[GH-582] Test for DDC-2106