I\'m using Spring Security Plugin to manage membership and authentication in my Grails app. I\'m trying to associate the User domain class with a Profile domain by a one-to-one association.
I\'m new to using the GRAG tool for generating Domain classes for GRAILS use, so far I\'ve had to edit the domains pretty heavily in order to get them to work with a many to many relationship, and now
I\'m learning groovy / grails, and writing my first integration test. It\'s currently failing with: 开发者_开发知识库
I\'d like to version a grails domain class by DateTime such that: each primary ID + DateTime property results in a new DB row (i.e. a new DB row per version)
I created a query with a like and a or select * from xxx where title like (\'%bon%\') or title like (\'%test%\')
Please go through the simple scenario below, I couldn\'t find a better way to ask the question in textual form:
Is there any way to store some properties of domain object in database instead of storing them as strings?
I have these classes: class Category { Set usersLinked def hasMany = [usersLinked:CategoryUserLink] static namedQueries = {
Is it possible to configur开发者_如何转开发e Grails to that changes to domain objects are never persisted unless .save() is explicitly called?
I am using grails and I am having trouble finding the appropriate syntax for joining and ordering across different domains.For example, given the example below, I would like to retrieve a page of book