The line and column in the log message refers to a location in the HQL statement, not the SQL statement (the SQL statement has not been generated yet).
I've added the HQL query string to the log message.
Pushed to master and 4.3 branches.