Grails3 + mysql没有使用camel表示法创建表名和列名

时间:2016-06-10 11:35:16

标签: grails gorm grails-3.1

实际上我将grails2迁移到了grails3。 但是域名没有与mysql db表正确绑定。 例如:

domainName is: EmployeeCompany
expected table name in mysql: employee_company
but its creating as with the name: EmployeeCompany

1 个答案:

答案 0 :(得分:1)

尝试在application.yml上设置此属性(Grails 2中的DataSource.groovy):

integration
相关问题