
如題,我修改了資料庫表,增加了幾個欄位,并且手動配置好了對應的物體類,在進行添加操作時卻無法添加新的欄位的內容
例如我已經配置好了物體和資料庫表,且JPA生成的insert陳述句中也有我新加入的欄位但是就是無法成功的實作插入操作
我加的attractionsPrice,在資料庫中未attractions_price
JPA形成的插入陳述句如下
insert into attractions (attractions_address, attractions_price, create_date, attractions_describe, image, attractions_name, attractions_status, id) values (?, ?, ?, ?, ?, ?, ?, ?)
可為什么無法插入呢?
新人求解
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/284338.html
標籤:Web 開發
上一篇:求助,為什么執行緒中的方法不執行