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:
anthorob committed 2026-10-13 13:18:10 -04:00
1 parent abdd2d1656
commit bedc8b9f02
1 file changed
+1 -1
+1 -1
View File
@@ -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. -->