gorm « Fetch « JPA Q&A





1. Efficiently retrieve objects with one to many references in Grails using GORM    stackoverflow.com

I'm trying to determine how to find/retrieve/load objects efficiently in terms of a.) minimizing calls to database and b.) keeping the code as elegant/simple as possible (i.e. not writing hql etc.). ...

2. Using lazy property fetching in Grails / Gorm    stackoverflow.com

is there any way to use lazy property fetching in Grails / Gorm ? somtehing like:
@Basic(fetch = FetchType.LAZY) annotation ( it also works with left join fetch?) (for example lazy loading of an String attribute) ...