9、grails console打印sql语句配置
程序员文章站
2022-03-24 13:36:30
...
development { dataSource { dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', '' url = "jdbc:mysql://115.28.151.196:3306/mixboss?useUnicode=true&characterEncoding=utf-8" //url = "jdbc:mysql://192.168.115.118:3306/mixboss_wqh2?useUnicode=true&characterEncoding=utf-8" logSql = true } }
上一篇: 6、不生成 version 字段
下一篇: 4、Grails的主键id生成规则