grails 6.x Listener, PreUpdateEvent, ValidationEvent
I've got a working grails application that uses the following classes:
import grails.events.annotation.gorm.Listener
import org.grails.datastore.mapping.engine.event.PreUpdateEvent
import org.grails.datastore.mapping.engine.event.ValidationEvent
But upgrading to grails 6, those classes don't seem to be found. I can't see any grails forge extention / feature that relates to those... Is there some way to get this function back, or are they obsolete? If obsolete is there some new equivalent...