2017-06-20 23 views

回答

0

最後無意中發現了這個後解釋異步問題..是甜的有這所引用的「最新消息」,當你選擇使用移動從格姆6.0至6.1

https://github.com/grails/gorm-hibernate5/blob/master/docs/src/docs/asciidoc/introduction/upgradeNotes.adoc

有關部分的Grails版本:

In order to enable GORM Async you need to add the necessary dependency to build.gradle:

compile "org.grails:grails-datastore-gorm-async:{version}" 

And make your entities implement the AsyncEntity trait:

import grails.gorm.async.* 

class Person implements AsyncEntity<Person> { 
    ... 
} 
+0

事實上,即使在手動在我的域對象插入AsyncEntity,就遇到了這個錯誤,並推遲升級格姆現在...符號:錯誤:無法找到符號 @ org.codehaus.groovy.transform.trait.Traits.Implemented()public D refresh(){return null;} –

相關問題