In Grails / GORM, what is the difference between static mapping = {xyz lazy: false} and static fetchMode = [xyz: 'eager'] ?
Example:
class Book { static belongsTo = [author: Author] static mapping = {author lazy: false} static fetchMode = [author: 'eager'] }
fetch grails gorm lazy-loading eager-loading
Xdr
source share