Trying to integration test Grails GORM delete on an object with beforeDelete event.Problem is that the beforeDelete event is not being fired in Integration Tests:
I have a domain object that has a property that i want to be used as the id by GORM, the reason being is that ill be saving lists of this object and i want existing rows to be updated if the id alread
Problem deleting associated entities and having this change persisted to the database. Have a groovy object parent which has many child entities associated with it. When we find this domain object an
I want to access the list of organisations from a user object within the main.gsp: <g:select name=\"effectiveOrganisation\"
The mirrorChanges option will mirror all changes made through GORM/Hibernate, so if I\'m not making any external changes to the database, then is bulkIndexOnStartup needed?
now, i try understend how works in Grails domain class and GORM. So, i try experiments: i experiment with two domain class: Main and Sub.
Well this is a strange requirement and I\'m thinking about it if this is possible or not. Second thou开发者_JAVA技巧ght comes is whether if its a feasible design decision or not.
I trying to build a dynamic query similar to: def domain = DomainName def ids = 1 def domainClass = \"$domain\" as Class
Relate开发者_运维技巧d objects of an m:n relation can be selected with a html select element in my application (could also be a list of checkboxes). If all related objects are deselected in the edit f
I have an existing Grails app and a separate, existing J开发者_JAVA技巧ava app.I would like the Java app to access the same database schema as the Grails app.Is there a way I can rip out the domain cl