dataSource { pooled = true driverClassName = "com.MysqL.jdbc.Driver" username = "root" password = "MysqL" //logsql=true } hibernate { cache.use_second_level_cache=true cache.use_query_cache=true cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider' //cache.provider_class='org.hibernate.cache.EhCacheProvider' } // environment specific settings environments { development { dataSource { dbCreate = "update" // one of 'create','create-drop','update' url = "jdbc:MysqL://localhost:3306/GDepot_dev" } } test { dataSource { dbCreate = "update" url = "jdbc:MysqL://localhost:3306/GDepot_test" } } production { dataSource { dbCreate = "update" url = "jdbc:MysqL://localhost:3306/GDepot_dev" } } }grails框架 数据源 MysqL
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。