Thanks much for the patch, but this is already corrected. SQLQueryImpl's super (AbstractQueryImpl) adds the necessary info in #getQueryParameters.