As title, I have modified the database table, added a few fields, and manually configured corresponding entity class, in the add operation but could not add the content of the new field
For example I have configured the entities and database tables, and JPA generated in the insert statement also have my new field but is unable to succeed the implementation of the insert
I add attractionsPrice, not in the database attractions_price
JPA formation of the insert statement below
Insert into attractions (attractions_address attractions_price, create_date, attractions_describe, image, attractions_name, attractions_status, id) values (?,?,?,?,? ,? ,? ,? ,? ,? ,? ,?)
But why can't insert?
New solution