Certain Nimble domain classes cause problems for many databases when columns are created due to a conflict of the hibernate generated column name with a reserved word in the RDBMS. The classic example of this is the variable "uid" conflicting with the reserved word 'uid' in Oracle. it should be noted that this changes the database column name only, in your code you still refer to the actual variable name i.e phone.number Currently the following Nimble variables have configurable names:
To modify these values edit your grails-app/config/NimbleConfig.groovy file and add the following as a direct child of the global nimble { } scope: You may of course set these values to anything you like that don't conflict with other reserved words. As usual if you choose not to specify these values in your NimbleConfig.groovy file then the values stored in DefaultNimbleConfig.groovy will be authoritative. |