I have 2 domains : class JobProcess { static constraints = { scriptUser(blank:false) scriptType() scriptName()
When I change a domain object, rather than updating the database record, I\'d like to archive the old record record and create a new one.I\'d like to force GORM to do this automatically.
Is this possible to convert in createCriteria()? SELECT * FROM node WHERE (node.type = \'act\' AND nid NOT IN (SELECT nid FROM snbr_act_community)) LIMIT 10
I have this domain class: class Requestmap { String url String configAttribute static constraints = { url(blank: false, unique: true)
I have this code : class A { String name } cl开发者_如何学JAVAass B extends A{ } class C extends A{
Suppose I have the following Domain class: class Book { String title S开发者_开发百科tring author
I get the following error when using a primitive attribute in my grails domain object: Null value was assigned to a property of primitive type setter of MyDomain.myAttribute
I want any fi开发者_运维百科eld to be nullable in default.You can place the following in grails-app/conf/Config.groovy if you are using 1.2+
I have the following association in a domain I\'m working on (not actually pirates unfortunately).A ship has many pirates.I want to be able to find all ships that have a captain and do not have any la
I\'m blocked on this GORM inheritance problem I have and id appreciate some fresh eyes to have a look over this problem. (Im using Grails 1.3.2)