I have a table which has records that need to be periodically cleared according to a set of criteria.
I was expecting that I could use the criteria builder to just delet
If you want to avoid HQL I'd suggest using GORM list(), delete() and Groovy's spread operator:
def agencyList = Agency.createCriteria().list { eq("agency", "XXX") } agencyList*.delete()