Skip to content
Advertisement

What is the name dialect class for mysql 10.1.21-MariaDB

in hibernate.cfg.xml

i am using MariaDBDialect class

JavaScript

when i run my code i got this errors in console

JavaScript

Advertisement

Answer

You should use org.hibernate.dialect.MySQLDialect, because MariaDB is 100% compatible with mysql.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement