Change dialect to MySQL5InnoDBDialect in order to fix issues with MySQL 5.5

With MySQLInnoDBDialect it inserts type=InnoDB to CREATE TABLE instructions.
Correct statement in this case is engine=InnoDB but it comes to SQL DDL only
when dialect is MySQL5InnoDBDialect.
This commit is contained in:
Dmytro Melanchenko 2011-09-20 11:33:13 +02:00 committed by Manuel Rego Casasnovas
parent 28e6a98091
commit f237b713fd

View file

@ -134,7 +134,7 @@
<dataSource.url>jdbc:mysql://localhost/naval${navalplanner.mode}</dataSource.url>
<testDataSource.url>${dataSource.url}test</testDataSource.url>
<!-- Hibernate properties -->
<hibernate.dialect>org.hibernate.dialect.MySQLInnoDBDialect</hibernate.dialect>
<hibernate.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</hibernate.dialect>
<databasetable.prefix></databasetable.prefix>
</properties>
</profile>