From 2e7b23438ab6579df9180fed6f5bca33d1f09a74 Mon Sep 17 00:00:00 2001
From: Vincent Massol <vincent@massol.net>
Date: Wed, 1 Jul 2020 15:25:18 +0200
Subject: [PATCH] XDOCKER-146: Remove MySQL5InnoDBDialect & PostgreSQLDialect
 from hibernate config file

---
 11/postgres-tomcat/xwiki/hibernate.cfg.xml | 1 -
 12/postgres-tomcat/xwiki/hibernate.cfg.xml | 1 -
 template/xwiki/hibernate.cfg.xml           | 1 -
 3 files changed, 3 deletions(-)

diff --git a/11/postgres-tomcat/xwiki/hibernate.cfg.xml b/11/postgres-tomcat/xwiki/hibernate.cfg.xml
index e891563..586d462 100644
--- a/11/postgres-tomcat/xwiki/hibernate.cfg.xml
+++ b/11/postgres-tomcat/xwiki/hibernate.cfg.xml
@@ -91,7 +91,6 @@
     <property name="connection.username">replaceuser</property>
     <property name="connection.password">replacepassword</property>
     <property name="connection.driver_class">org.postgresql.Driver</property>
-    <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
     <property name="jdbc.use_streams_for_binary">false</property>
     <property name="xwiki.virtual_mode">schema</property>
 
diff --git a/12/postgres-tomcat/xwiki/hibernate.cfg.xml b/12/postgres-tomcat/xwiki/hibernate.cfg.xml
index 348d398..f0c065d 100644
--- a/12/postgres-tomcat/xwiki/hibernate.cfg.xml
+++ b/12/postgres-tomcat/xwiki/hibernate.cfg.xml
@@ -91,7 +91,6 @@
     <property name="connection.username">replaceuser</property>
     <property name="connection.password">replacepassword</property>
     <property name="connection.driver_class">org.postgresql.Driver</property>
-    <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
     <property name="jdbc.use_streams_for_binary">false</property>
     <property name="xwiki.virtual_mode">schema</property>
 
diff --git a/template/xwiki/hibernate.cfg.xml b/template/xwiki/hibernate.cfg.xml
index 21b2dbe..2c2e3f8 100644
--- a/template/xwiki/hibernate.cfg.xml
+++ b/template/xwiki/hibernate.cfg.xml
@@ -113,7 +113,6 @@
     <property name="connection.username">replaceuser</property>
     <property name="connection.password">replacepassword</property>
     <property name="connection.driver_class">org.postgresql.Driver</property>
-    <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
     <property name="jdbc.use_streams_for_binary">false</property>
     <property name="xwiki.virtual_mode">schema</property>
 
-- 
GitLab