grails-orm
GORM tablePerHierarchy false, foreign key
I have in my models: class ContestParticipant{ static mapping = { id generator: \"uuid\" tablePerHierarchy false[详细]
2023-03-08 04:22 分类:问答Non-Trivial Data-Query in Grails
imagine the following problem in grails you have some kind of audit trail domain class with numeric properties. For instance a class in which the current burndown value of your scrum project is writt[详细]
2023-03-08 01:20 分类:问答Grails GSP render problem
I\'ve got a domain class which I want to, at run time, do a database call to populate a list of objects as a property. I have a tree with a \'headMember\' property and that property is an object which[详细]
2023-03-08 00:40 分类:问答Grails Delete bi-directional one-to-one association
I have two domain classes with bidirectional one to one association: Domains class Nose { String str1 static belongsTo = [face:Face][详细]
2023-03-07 03:50 分类:问答GORM delete operation : Found two representations of same collection
@Entity public class Contact{ List associations static hasMany[ associations:Contact ] static mapping[ associations cascade:\"all-delete-orphan\"[详细]
2023-03-06 21:28 分类:问答How can I get all details objects with specified condition?
I have class A { String title static hasMany = [details: Detail] } class Detail { enum Type { ONE, TWO } String name[详细]
2023-03-06 11:10 分类:问答Grails paginate database results on same transaction?
I\'d like to be able to paginate my database results with something like the CriteriaBuilder, but I need my results to be consistent as to a single point in time.[详细]
2023-03-06 07:34 分类:问答Grails: plugins: drools vs drools-gorm
I am going to try to add some DROOLS into my Grails project.I have never used DROOLS before, and I intend to learn it within the context of Gr开发者_运维问答ails.Can anyone explain the difference or j[详细]
2023-03-04 21:28 分类:问答Grails reverse cascade delete without hasMany or belongsTo
I have two domain-classes. class UsersAddThese { String someData } and class TheseAreConstantlyGenerated {[详细]
2023-03-04 18:49 分类:问答Grails hook into GORM beforeUpdate()
I have an internal requirement with nested domain classes where I want updates to a parent relationship to be propagated to children. A code example may make it clear:[详细]
2023-03-04 15:02 分类:问答