References:
package de.equeo.requestcode
import grails.compiler.GrailsCompileStatic
@GrailsCompileStatic
class Feature {
String name
static mapping = {
table 'rq_feature'
version false
autoTimestamp false
}
}
This results in the error in the IDE only (works fine in grails run-app
or while compiling):
Instead of doing that you can use the built in type safe dsl added in GORM 6.1
import static grails.gorm.hibernate.mapping.MappingBuilder.*
class Book {
String title
static final mapping = orm {