Grails3.0.x-3.1.x由hibernate4升级至hibernate5

Grails3.0.x-3.1.x由hibernate4升级至hibernate5

build.gradle中buildscript下面的hibernate4更换为:

//classpath "org.grails.plugins:hibernate4:5.0.5"
classpath "org.grails.plugins:hibernate5:5.0.5"

依赖更换:

//    compile "org.grails.plugins:hibernate4"
//    compile "org.hibernate:hibernate-ehcache"
compile "org.grails.plugins:hibernate5"
compile "org.hibernate:hibernate-core:5.1.0.Final"
compile "org.hibernate:hibernate-ehcache:5.1.0.Final"
  • 发表于 2018-06-12 11:06
  • 阅读 ( 2199 )
  • 分类:grails

0 条评论

请先 登录 后评论
不写代码的码农
Jonny

程序猿

65 篇文章

作家榜 »

  1. 威猛的小站长 124 文章
  2. Jonny 65 文章
  3. 江南烟雨 36 文章
  4. - Nightmare 33 文章
  5. doublechina 31 文章
  6. HJ社区-肖峰 29 文章
  7. 伪摄影 22 文章
  8. Alan 14 文章