class Airport {
    static mapWith = "none"
}mapWith
Purpose
The mapWith static property adds the ability to control if a domain class is being persisted.
Examples
In this example the Airport class will not be persisted to the database.
| 
                (Quick Reference)
                
                 mapWithPurposeThe  ExamplesIn this example the  | Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet API |