Skip to content

Instantly share code, notes, and snippets.

@kouzouigh
Created July 9, 2013 09:41
Show Gist options
  • Save kouzouigh/5956064 to your computer and use it in GitHub Desktop.
Save kouzouigh/5956064 to your computer and use it in GitHub Desktop.
Telling Gorm do not map domain class
class Filter {
Date startDate
Date endDate
// Do not map this class
static mapWith = "none"
static constraints = {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment