groovy « Load « JPA Q&A





1. groovy / grails / hibernate - configure set to be fetched eagerly    stackoverflow.com

We are configuring hibernate with grails using the domain classes. Added:

static hasMany = [image:Image]

static fetchMode = [image:"eager"]
However, when I pull the object graph each image is not loaded. Please advise. Thanks.