I\'m feeling a little slow today. I\'m trying to do something that I think is very simple. I have a Domain class with a property called \'name\'. I want \'name\' to have an index, and I want the index
I have a domain class like this开发者_JAVA技巧: class Document { String mime; String name; byte[] content;
I have a Grails domain class that is a hierarchy of categories.Each Category has a parent category (except for the root category which is null).
When I created a new domain object and call sa开发者_运维百科ve command after validating, it failed and return an error that the id of object is null! But my Domain\'s id will be generated by database
I have done a lot of searching and I am aware of grails-executor and the JMS plugin.I am looking for advice on the best way to implement a long running (as long as the application is running) service
I have a one-to-many table mapping that I want t开发者_Go百科o do with grails. I have a legacy database where I can\'t change the table structure. I have everything set up, but the only thing I can\'t
I have a domain that looks something like class Foo { String name static mapping = { table \'foo\' } } but I want to make is more like :
I am trying to correctly define a tree structure in GORM and having trouble. i have one domain object:
I have a Parent-Child relationship where the Parent hasMany children and the the Child belongsTo the parent.The fetch mode is default (lazy).When I do a get of the Parent, sql equivalent to \"select *
Is there a way I can easily flatten an object to one table in Gorm? I have several conceptual entities which always need to be joined to their parent class. That is, I have this: