static mapWith = "mongo"
I am exactly not clear what does it means. According to http://grails.github.io/grails-doc/3.0.x/ref/Domain%20Classes/mapWith.html
mapWith
Purpose
The mapWith static property adds the ability to control if a domain class is being persisted.
Examples
class Airport { static mapWith = "none" }
I also went through this question Remove simpledb mapWith by meta programming in dev mode
and I got an idea that in my grails application,
static mapWith = "mongo"
might be using mongoDB plugin. But still I am not clear. I also went through these stackoverflow links :