grails-orm
Use grails export plugin for multiple classes
The grails export plugin is designed to export a single domain class. Is there a way to use the Grails export plugin to export a hierarchy of hasMany domain classes.Could I do a join that creates a tr[详细]
2023-04-01 13:18 分类:问答Form values from the create view don't get passed to the save view
This question is an extension of / is similar too the question I asked here.The specific issue I was having in that question was solved, but I am having another very similar issue.[详细]
2023-04-01 13:02 分类:问答Map domain class with predifined values to table
Is it possible to create domain class which will开发者_开发问答 be mapped to db table with predefined values, for example:[详细]
2023-04-01 07:00 分类:问答grails gorm - not usual one-to-many association - bug found?
first of all: i am not a beginner in grails. I used a one-to-many association many times. Maybe the problem is happening because it\'s not a us开发者_开发技巧ual use.[详细]
2023-04-01 05:12 分类:问答GORM: ilke and inList combination
In Grai开发者_StackOverflowls, with DynamicFinder how can we execute a query using ilike along with inList? Or can we use CriteriaBuilder to combine ilike and inList? Thank you!why do you want do comb[详细]
2023-03-31 17:48 分类:问答Getting the ID of a one-to-many loaded object without another trip to the DB with GORM
I have to GORM domains, A & B, that relate to database tables. A has a one-to-many relationship with B. Because of this, the classes look similar to:[详细]
2023-03-31 07:26 分类:问答Grails (Hibernate) does select before insert without passing id argument value
I\'m starting more serious tests of my grails web-app and it was time to move from hsqldb to postgres. Eve开发者_JAVA百科rything went more or less ok, however I\'m getting an error in Bootstrap when c[详细]
2023-03-31 01:53 分类:问答Grails Order By Not Working
I have a Grails query that has an order by clause, but when the results come back they are not ordered by that field. If I run the same query in the database it works correctly.[详细]
2023-03-29 09:28 分类:问答Grails cascade delete?
I\'m going nuts with foreign key constraints here. No matter what I specify for cascading behavior or belongsTo/hasMany, I get a foreign-key constraint error[详细]
2023-03-29 00:42 分类:问答Grails select will not return correct data
This a continuation of this question. I have an Address class which contains basic street address information.I also have a User class which has the attributes physicalAddress, mailingAddress, cargoD[详细]
2023-03-26 12:18 分类:问答