1. 程式人生 > >Hibernate 與Mysql 關鍵字衝突

Hibernate 與Mysql 關鍵字衝突

Hibernate ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

剛學Hibernate,今天一上午都在糾結於這個錯誤,結果百度才知道是由於我的資料庫表名group和mysql的關鍵字衝突

然後更改資料表名,與之關聯的類名

真的是很失誤,每次成長都基於失敗,真的是太慢了,用之前好好學,不要急於求成