I\'m trying to start spring boot project with MySQL database, but I have some problem with database. I try to start my application that, and server is running but hibernate don\
if you see this problem, please double check your class properties for reserved keywords like key(in my case).
I changed the key to mkey and everything goes fine.
Just specify the dialect in your application.properties
. For example, for MySQL 8:
hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
It seems that it is an error related to reserved PostgreSQL words. Similar to the top answer (SupaMario's), the error went away after changing one of my column names from
@Column(name = "name", nullable = false)
to
@Column(name = "employee_name", nullable = false)