doctrine/doctrine2 — pull request #640 by denkiryokuhatsuden (2013-04-02 10:00:55+00:00)
Title: [Paginator]Add hidden field ordering for postgresql

In postgresql environment, when some hidden fields are used in orderBy clause,
they're not property added because $rsm->scalarMappings don't have information about them.

This change fixes above.

I'm afraid I'm not sure which branch this will be merged, but anyway here's a patch.