Created
July 9, 2013 09:41
-
-
Save kouzouigh/5956064 to your computer and use it in GitHub Desktop.
Telling Gorm do not map domain class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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