Switch to MariaDBDialect in Hibernate configuration
Replaced `MySQLDialect` with `MariaDBDialect` in `hibernate.cfg.xml` to ensure compatibility with MariaDB. This change aligns the Hibernate dialect with the underlying database and avoids potential SQL compatibility issues.
This commit is contained in:
1 parent
abdd2d1656
commit
bedc8b9f02
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
|
||||
<property name="hibernate.dialect">org.hibernate.dialect.MariaDBDialect</property>
|
||||
<property name="hibernate.connection.driver_class">com.mysql.cj.jdbc.Driver</property>
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.hikaricp.internal.HikariCPConnectionProvider</property>
|
||||
<!-- The schema is owned by Flyway; Hibernate only checks that the entities match it. -->
|
||||
|
||||
Reference in new issue
Block a user