diff --git a/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml b/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml index e7e8c86387e59199fae6a13a5c8b5a8b684d2ce5..045f5015d2d65cc047b2a30411823b9e3b5ccffd 100644 --- a/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml +++ b/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml @@ -56,6 +56,9 @@ --> <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" /> <!-- Enable Hibernate scanning for entity classes and adding them automatically but not for hbm.xml files. -->