Agreed. I would have expected this to have a getQuery() that returns a hibernate Query.