[錯(cuò)誤]:
在Hibernate程序中出現(xiàn)如下錯(cuò)誤提示:
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
Caused by: java.sql.BatchUpdateException: Table 'db.bookauthor' doesn't exist
[解決]:
原來是數(shù)據(jù)庫中的表名寫錯(cuò)了,數(shù)據(jù)庫中的表名寫成:"bookauthors"。