想象一下,我有以下课程:
class Test { String name static mapping = { cache true version false }
目标是在数据库级别使用本机sql插入行,因此hibernate不会识别这些更改.我怎么能不知道这个新行呢?
有什么像 - > Test.clearCache?
grails hibernate
grails ×1
hibernate ×1