HHH90000026: MySQL8Dialect has been deprecated; use org.hibernate.dialect.MySQLDialect instead
In SpringBoot 3 + Hibernate 6, MySQL8Dialect is deprecated in favor of MySQLDialect
the problem is that MySQLDialect requires to set constructor parameter which version to use.
So,
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect(8)
isn't working.
And
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
will use default version which is 5.0.
How to specify version 8 with using
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
?