Why is Grails throwing ‘Could not prepare statement’ error after upgrade from 3.2.6 to 3.3.5?
We recently upgraded our Grails project from 3.2.6 to 3.3.5, after which we began receiving intermittent errors indicating the the connection had already been closed when using the builtin domain class methods such as the findBy, findAllBy, save methods.