Is there a way to write a custom validator that will perform different validations according to field values?
I am trying to set up a few domain classes. I will explain it in english, and I am wondering how the domain would be set up in grails. Capitalized words are my domains
I would 开发者_如何转开发like to create a one-to-many association that does not cascade deletes. Reading the Grails Reference it says
Lets say I have two domain classes: class User { String name Role role } class Role { String name static belongsTo = [user: User]
I\'m using Grails 1.2.4. I would like to know on how can I sort by \"countDistinct\" (descending) and with groupProperty inside a projections.
I have a User class and a Item class and a user can have multiple items. I want to select some开发者_高级运维 users based on other property using finndAllByProperty and adding the pagination paramete
I\'m trying to write a simple integration test, but having some trouble with Domain Objects. I\'ve read on unit testing but can\'t figure it out.
I want to backup HSQLDB from grails, Here\'s the c开发者_开发百科ommand BACKUP DATABASE TO \'C:/BACKUP/\' BLOCKING
Is it possible in grails to sort query results according to a property of a parent c开发者_开发百科lass in a relationship. E.g. I have a user domain class which has a one to many relationship with a l
I would like to know if it\'s possible to set the size of VARCHAR column if database is MS SQL 2005. Here\'s my domain: