I have to GORM domains, A & B, that relate to database tables. A has a one-to-many relationship with B. Because of this, the classes look similar to:
cla
Instead of:
Long bid = a.b.id
use:
Long bid = a.bId