deals with issues related to the definitions of domain model
I've got an application that was using Grails 1.3.7 which I've just migrated to Grails 2.0. The application makes use of the …
grails gorm grails-domain-class grails-2.0Suppose a simple Grails domain class: class Account { String countryId; String userName; String password; static constraints = { ...???... } } It is required that …
grails orm unique-constraint grails-domain-class grails-validationI am new to Grails. Can I use "hasOne" or "hasMany" without using "belongsTo" to another domain-class? Thanks in advance.
grails gorm grails-domain-class domain-data-modellingI want to allow users to traverse the domain classes and print out dumps of stuff. My frist problem: assuming …
grails grails-domain-class servletsIn my Grails domain class I want to set default values which do persist in the database. I use mysql …
grails grails-2.0 grails-domain-classI'm trying to set default sort of my hasMany attribute using mapping statement. I'm following the grails doc but it …
grails gorm grails-domain-classIs there a good/standard way to execute some common code before every save() invocation on domain classes? For example, …
grails gorm grails-domain-classI have two domain classes one is parent and other one is child and i have a hasMany relationship between …
json grails grails-domain-classI have a domain as follow: class Author { String id static hasMany = [accounts: Account] static belongsTo = Account static mapping = { accounts …
java hibernate grails gorm grails-domain-classHow do I set up a variable within a domain class that is not persistent. I want to be able …
grails grails-domain-class