Q:

Grails wont save in service

I've a little problem with saving a changed object in grails. Here is my Code...
    Proxy p = Proxy.findByAvailableAtLessThan new Date()        
    Date newNextUseAfter = new Date()

    use(TimeCategory) {
        newNextUseAfter = newNextUseAfter+5.minutes
    }

    p.availableAt = newNextUseAfter
    if(!p.save(flush:true)){
        println p.errors.allErrors.toString()
    }

No errors are given, everything looks fine, but there are no changes in DB.

A:

I think that your problem is a validation failure. So you should try
p.save(flush:true, failOnError: true)

instead of
p.save(flush:true)

