Doctrine 2 - ORM

[ORACLE] setting query maxResults together with firstResult leads to an error