Solve org hibernate. exception. SQLGrammarException:could not insert
•
Java
Today, I encountered this error when building a project using hibernate. I haven't found the reason for the error for a long time,
I went online for help
The reason for this bug is that the database keyword (reserved word) is used in the data table
Then I checked and found that the field names are not keywords. Where is the problem?
Check again and find yes
A small mistake, a lot of time is wasted because of carelessness,
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码