In grails is creating a new domain class and never persisting any objects to the db, the best way to create a class that you don't want to store in the db?
Grails provide the src
directory to develop some utility classes and other artifacts. The src
directory it not persisted.
src - Supporting sources
groovy - Other Groovy sources
java - Other Java sources
define static mapWith="none"
inside your class in grails-app/domain folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With