I found the answer, the HB error is pretty clear, but in GORM, how you do it is different.
. , , Hibernate ( GORM), .
Child
class Parent {
int id
static hasOne = [ child : Child ]
}
class Child {
int id
static belongsTo = [ parent: Parent ]
static mapping = {
parent column: 'id', insertable: false, updateable: false
}
}
, .:)