org.hibernate.exception.SQLGrammarException: could not execute query

Hibernateを使っていて

org.hibernate.exception.SQLGrammarException: could not execute query

という例外が発生したら、DBのテーブル定義とhbm.xmlの定義のマッピングが合ってないかどうか確認する。