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:
parent
28e6a98091
commit
f237b713fd
1 changed files with 1 additions and 1 deletions
2
pom.xml
2
pom.xml
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue