Doctrine 2 - ORM

order of fields in sql query and parameters to be bound to the dbal's statement is different