Is is possible to do automatic relation fetching in GORM / Grails?
class Person {
static hasMany = [cars : Car]
}
class Car {
static belongsTo = [owner : Person]
}
Then use this relation like:
person = Person.get(1);
person.cars.each() { print it; }