grails-domain-class
How to count on different values in the same query with Grails?
I have a class with a status : class A{ String status } This status can have values \'start\',\'end\',\'inprogress\'.[详细]
2023-02-12 00:42 分类:问答Grails GORM on multiple Forms
Usually I\'m using One-to-many relationship by this way : class Study { static hasMany = [ crfs : Crf ][详细]
2023-02-11 18:13 分类:问答Where should I place a transient domain class in a grails app?
Where should I place a transient domain class in a grails app? Ie I have an Action class t开发者_JAVA百科hat will be passed about, and used, but never saved.Should this be in the grails-app/domain fo[详细]
2023-02-11 05:59 分类:问答Grails: Foreign key as primary key?
first of all i have to say that i have an existing database that it can not be modify (that´s why i am having this problem)[详细]
2023-02-09 02:23 分类:问答Grails Hibernate Session Troubles - failed to lazily initialize a collection
Error: Error 500: null Servlet: URI: Exception Message: failed to lazily initialize a collection of role: Student.lockers, no session or session was closed[详细]
2023-02-06 16:32 分类:问答Grails custom validator for domain class
I have a restriction so there could be no more than ConfigurationHolder.config.support.reminder.web.person.max object stored.[详细]
2023-02-05 12:23 分类:问答How to populate 2nd combobox(g:select) values on basis of 1st combobox(g:select)?
I\'m t开发者_Python百科rying to load 2nd combobox (g:select) values on the selection of 1st combobox (g:select) value in GSP.[详细]
2023-02-04 21:55 分类:问答Hibernate Mapping generates Error in Grails for Column with Alias "h002-01"
Im trying to implement mapping in grails over hibernate for a table which has special characters in columne names. i.e \"-\"[详细]
2023-02-04 20:45 分类:问答Grails - how to save a domain object inside a Service?
I have a service and inside one of the functions i\'m creating a domain object and trying to save i开发者_JAVA百科t.[详细]
2023-02-01 19:09 分类:问答How to refactor in Grails
I\'m doing a project that requires some refactoring. My domain class is like: Book { static belongsTo[category: category][详细]
2023-02-01 15:04 分类:问答