I added this method to provide a solution for ``$documentRepository->createQuery($statement, $language)`` https://github.com/doctrine/phpcr-odm/pull/204/files#L1L242

This method is valid enough in that you provide an SQL statement we will (when the other PR is merged) return an ODM query. I'd prefer the ODM to be language agnostic - that would remove the ambiguities, but as you have said thats not important now.

I had a look at implementing the ``setFromQuery`` method on the ODM QueryBuilder but it isn't very practical (would have to convert the PHPCR constraints to their Doctrine ``Expression`` equivilents). And it didn't really _feel_ right in that class.

As previously noted, I thought also to provide a proxy class which would encapsulate the PHPCR methods, e.g. ``$dm->phpcr()->getQueryBuilder``. If thats any better.