GRAILS-10138 - retrieve domain class command object from db if params.id is present