、build.gradle: compile("org.springframework.boot:spring-boot-devtools")
compile('org.grails:gorm-hibernate5-spring-boot:6.1.2.RELEASE')
compile('org.grails:grails-datastore-gorm:6.1.2.RELEASE')
com
私は2つのドメインクラスを持っています。 AとBドメインBでは class A {
Long a_id
static constraints = {
}
static mapping = {
id name:'a_id'
}
}
Class B {
A a
static constraints = {