grails-orm
Grails GORM count function in a named query
I\'m writing some named queries for my domain classes in Grails and I\'ve hit a blocker. Given the following domain class:[详细]
2023-03-19 08:39 分类:问答Grails many to many relationship migration
Hello I have two domain classes as following class Users { String password String firstName String lastName[详细]
2023-03-19 08:19 分类:问答Grails GORM loading collection of objects issue
I\'m trying to load a list of Evaluations in a class named Contributor but I\'m missing something as I cannot get my test passing.[详细]
2023-03-19 01:57 分类:问答Groovy Dynamic List Interaction
I am using an older version of grails (1.1.1) and I am working on a legacy application for a government client.[详细]
2023-03-18 22:42 分类:问答Grails: parent id null when objects listed by it
First time here, and new to Grails, I have a weird issue with a one-to-many relationship. I\'m creating a Grails application to provide services to a website and smartphone applications.[详细]
2023-03-18 05:23 分类:问答Id generation problem in Grails when using Oracle and H2 for the same application
I am working on grails application. I must use H2 for development and Oracle for testing and production. I must use separate sequences for each domain class/table when using Oracle so I used the follo[详细]
2023-03-17 02:38 分类:问答Grails - Hibernate XML - Dynamic Methods
I have a Grails project that is using Hibernate XML. The Hibernate file are all in conf/hibernate/[DomainName].hbm.xml and the matching source domain files are in src/groovy/[DomainName].groovyI keep[详细]
2023-03-16 00:00 分类:问答Grails - Hibernate Join Element
I have a legacy database that has a Hibernate join in it: <join table=\"events_sub_seasons\" optional=\"false\">[详细]
2023-03-15 15:49 分类:问答Grails gorm query question
having the domain classes: class A { Date dateCreated static hasMany = [b:B] ... } class B { String name String value[详细]
2023-03-15 04:38 分类:问答Problem with Grails GORM
I am developing an application which queries data from an XML file and creates multiple objects with that data.[详细]
2023-03-13 21:58 分类:问答