Doctrine 2 - ORM

Fix Inheritance in Code-Generation