Spring

Read carefully the org.springframework.jdbc.BadSqlGrammarException

You may think the query is wrong, maybe one of the column names is misspelled. But the actual error is in the row mapper or in the row extractor.