Is there a way to change the data type of the static hasMany = [myList: Stuff] definition in grails? I tried
I\'m just trying to do pagination but until now I couldn\'t make it. I have 2 domain classes and one to many relationship.
I\'m having trouble understanding the difference between declaring a domain-object in another domain and specifying the relationship between the domains.
I would like to know if anyone has ideas on how to ensure if in the join table mm_author_books, how to make sure the columns (mm_book_id and mm_author_id) are unique?
I have just started developing a Grails app froma tutorial today, and I have noticed that when I save changes to Domain objects, the changes aren\'t being reflected immediately throughout the applicat
I have a User domain class, and a List one. Each list must have an author (a user) and each user must have a \"primary list\". Only some of the lists will have the \"primaryList\" statute.
I have rather big form where a user can choose any number of parameters (from 1 to 10). Example: Cities - NYC, LA ; age - 18
I have this : class Contribution { 开发者_高级运维 String name ... static namedQueries{ findAllByName{
I have a domain class which is called Ev开发者_开发知识库ent. Event has many registrations, which are users with account on site or people without it. I want registered user to be able to track their
Is there a way to set the collection dynamically when saving/getting a domain object in mongodb? I want to restrict users to a certain collection every time they do get/save since it is going to be a