Doctrine 2 - ORM

Changing strategy generates bad query.