billgonemad
09/17/2025, 8:07 PMgrails.gorm.default.mapping = {
autowire true
}
but it doesn't appear to be getting picked up and the beans are not being injected into the domain class. Adding to the mapping block on the domain appears to work however.James Fredley
09/17/2025, 8:39 PMgrails:
gorm:
autowire: truebillgonemad
09/17/2025, 8:42 PMgaolei
09/17/2025, 9:59 PMbillgonemad
09/17/2025, 10:45 PMJames Fredley
09/17/2025, 10:51 PMEmailService emailService = Holders.applicationContext.getBean('emailService')sbglasius
09/18/2025, 7:38 AM