I have a MySQL DB table that I cannot change, but I need to insert values. It has a column called key that I need to insert.
Now my .hbm.xml file has:
<property name="key" type="string" column="key" />
The created insert request is not executed. When adding [key], the generated SQL now contained key , but that also failed. When checking in the MYSql Workbench, I found that key can work.
However, if I change this in the file mentioned above, it returns to the "key", as when using [key]. Can someone explain to me how I can add key and call the required insert?
source share