0
我想在数据库中使用常规时间表示法。Grails 3.0.9 JodaTime格式YML
在Grails的2.x使用
grails.gorm.default.mapping = {
"user-type" type: org.jadira.usertype.dateandtime.joda.PersistentDateTime, class: org.joda.time.DateTime
"user-type" type: org.jadira.usertype.dateandtime.joda.PersistentLocalDate, class: org.joda.time.LocalDate
}
我有一个问题是这样写的YML格式。 请帮我
application.groovy中封闭方法的缺点是,杰克逊目前有一个问题。因此访问spring-boot/env执行器会导致Jackson错误。请参阅https://github.com/grails/grails-core/issues/10279 – Bertl