CriteriaQueryImpl.compile()
Compiles to verify that at least one root is defined, a selection term is present
and, most importantly, collects all the parameters so that they can be bound to
the executable query.