2014-03-31から1日間の記事一覧

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

Hibernateを使っていて org.hibernate.exception.SQLGrammarException: could not execute queryという例外が発生したら、DBのテーブル定義とhbm.xmlの定義のマッピングが合ってないかどうか確認する。