Feb 28, 2009
Grails and Mysql InnoDB
Here is a little tips to let grails create using innodb engine on mysql, everytime grails create a domain/table.
1 2 3 4 5 6 7 | dataSource { pooled = true driverClassName = "com.mysql.jdbc.Driver" username = "wysmedia" password = "password" dialect = org.hibernate.dialect.MySQLInnoDBDialect } |
dialect = org.hibernate.dialect.MySQLInnoDBDialect that’s the main idea to set mysql using innodb. With InnoDB you can use service transaction or database transaction