Skip to content
Snippets Groups Projects
Commit f17996d4 authored by Goik Martin's avatar Goik Martin
Browse files

Mysql57 Dialect Innodb Default

parent 50274938
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,8 @@
<property name="hibernate.format_sql" value="true"/>
<property name="hibernate.use_sql_comments" value="true"/>
<!-- Choose Mysql's innodb backend -->
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
<!-- Choose Mysql's innodb backend being dialect's default-->
<property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL57Dialect" />
<!-- Enable Hibernate scanning for entity classes and adding them automatically
but not for hbm.xml files. -->
......@@ -109,8 +109,8 @@
<property name="hibernate.format_sql" value="true"/>
<property name="hibernate.use_sql_comments" value="true"/>
<!-- Choose Mysql's innodb backend -->
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
<!-- Choose Mysql's innodb backend being dialect's default -->
<property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL57Dialect" />
<!-- Enable Hibernate scanning for entity classes and adding them automatically
but not for hbm.xml files. -->
......
......@@ -36,7 +36,7 @@
<!--
JDBC database connection parameter
-->
<property name = "javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
<property name = "javax.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver"/>
<property name = "javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/hdm?useSSL=false"/>
<property name = "javax.persistence.jdbc.user" value="hdmuser"/>
<property name = "javax.persistence.jdbc.password" value="XYZ"/>
......@@ -58,8 +58,8 @@
<property name = "hibernate.format_sql" value="true"/>
<property name = "hibernate.use_sql_comments" value="true"/>
<!-- Choose Mysql's innodb backend -->
<property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
<!-- Choose Mysql's innodb backend by dialect's default -->
<property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL57Dialect" />
<!-- Enable Hibernate scanning for entity classes and adding them automatically
but not for hbm.xml files. -->
......@@ -76,7 +76,7 @@
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name = "javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
<property name = "javax.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver"/>
<property name = "javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/hdm?useSSL=false"/>
<property name = "javax.persistence.jdbc.user" value="hdmuser"/>
<property name = "javax.persistence.jdbc.password" value="XYZ"/>
......@@ -88,8 +88,8 @@
<property name = "hibernate.show_sql" value = "true" />
<property name = "hibernate.format_sql" value="true"/>
<property name = "hibernate.use_sql_comments" value="true"/>
<property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
<property name = "hibernate.dialect" value="org.hibernate.dialect.MySQL57Dialect" />
<property name = "hibernate.archive.autodetection" value="class"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment