Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hibernate dialect for MySQL 8?

Is there a Hibernate dialect for MySQL 8? Or should I use the org.hibernate.dialect.MySQL57Dialect that ships with Hibernate? I'm using hibernate 5.2.16

like image 916
unknow Avatar asked May 14 '18 02:05

unknow


People also ask

Which Hibernate version is compatible with MySQL 8?

The latest Hibernate 5 release includes updated dialect classes that must be referenced within a hibernate. cfg. xml file for MySQL 8.


1 Answers

MySQL8Dialect(org.hibernate.dialect.MySQL8Dialect) is available in hibernate bundle 5.3.1.Final. You can use:

org.hibernate.dialect.MySQL8Dialect 
like image 150
Vipin Purohit Avatar answered Oct 14 '22 00:10

Vipin Purohit