0
2.2「請求」關鍵字我開發使用Grails 2.1.2應用程序然後我升級到2.2.0的Grails在域
我有一個域類
class Concurrence {
Concurrence parent = null
Request request
Person approver
int status = 0
Date processed = null
}
class Request {
String no
Folder folder
String fiscalYear
String notes
static hasOne = [category: Category, channel : Channel]
Date created
Date submitted = null
Date approved = null
Date updated
Person requestor
int status = 0
boolean deleted = false
Person processedBy = null
boolean processed = false
Date processedDate = null
static hasMany = [documents:RequestDocument, concurrences:Concurrence, approvals:Approval, finalApprovals:FinalApproval, memos:Memo]
}
有一個屬性「請求」競合
此前一切正常,但在我使用的Grails 2.2.0,該域不能保存,
場「REQUEST_ID '沒有默認值
有什麼建議如何解決這個問題?或者我必須降級到2.1.2或重命名請求屬性名稱?
問候