grails-orm
GORM: List all the domain instances belonging to User (root object)
I\'m working 开发者_如何学Cwith grails since a while. There is something I still don\'t know how to implement correctly.[详细]
2023-03-03 16:13 分类:问答Grails find entries with specific minute
I have several domain classes which generate large data sets开发者_JAVA百科 each minute. Something like this:[详细]
2023-03-03 10:55 分类:问答How can a Domain Class cascade 'all-delete-orphan' to a child it has no reference to?
In Grails you can have a child class: class Child { Father father static belongsTo = [Father, Mother] } With two parent classes[详细]
2023-03-03 05:34 分类:问答how to find grails dynamic method source code
What\'s a good way to find source code that would get generated for methods like :\'findBy\' or \'addTo\'that get dynamically created for domain classes?[详细]
2023-03-03 03:38 分类:问答Grails testing user role custom validation constraints using Spring Security Core Plugin
I\'m sure this is a fairly common situation. I\'m using the Spring Security Core plugin and want to create a domain model that has a Person limited to certain roles:[详细]
2023-03-01 15:06 分类:问答Selectively disabling automatic table updates (dbCreate="none") on domain class/table level in Grails?
In Grails, is it possible to disable automatic table creation/updates for one doma开发者_如何学JAVAin class only?[详细]
2023-02-28 15:08 分类:问答Grails + MongoDB: what's a replacement for association query criteria?
The MongoDB plugin for Grails (mongodb 1.0-M5) doesn\'t (yet) support queries of type AssociationQuery.This means I can\'t d开发者_Python百科o this:[详细]
2023-02-28 10:01 分类:问答Grails newbie - Scaffold question - Replace unique id with readable value(s)?
I\'m creating a web application with grails, and I\'m working on the CRUD prototype using Scaffold. Out of the box, the scaffold will use the unique id (which makes sense) for foreign key values, and[详细]
2023-02-28 02:46 分类:问答Testing if a grails property is lazy/not initialized?
I can\'t seem to test if an object is lazy initialized. What am I doing wrong here? public void testLazy(){[详细]
2023-02-27 09:44 分类:问答How do I sort by a property on a nullable association in Grails?
I\'m trying to sort a table of data. I have the following domain (paraphrased and example-ified): class Car {[详细]
2023-02-27 01:23 分类:问答