grails-orm
Saving a reference through belongsTo
I\'m making a script using some already created (not by me) domain classes from grails. 开发者_如何转开发class Person extends OAP {[详细]
2023-04-06 00:45 分类:问答How to cope with 'org.postgresql.util.PSQLException: No value specified for parameter 1'?
Upon registration to my Grails app, the user receives an email with a confirmation link. Clicking that link, takes her to the according \'enable\' action.[详细]
2023-04-05 15:13 分类:问答ORA-00972: identifier is too long - Best strategy to avoid it in Grails
I am getting\"ORA-00972: identifier is too long\" error while saving a domain class object. Caused by: org.hibernate.exception.SQLGrammarException: could not initialize a collection: [com.intelligrap[详细]
2023-04-05 06:57 分类:问答List with fetch parameter
I have a class called Address which has a boolean field called clone.I am trying to use the Grails list() method to show instance of the Address class where clone = false.I though I could use the fetc[详细]
2023-04-04 20:22 分类:问答Grails GORM mapping tries to access field "class" which exists nowhere
This is pretty strange. class Service implements Serializable{ Integer id String serviceName String description[详细]
2023-04-04 18:10 分类:问答Grails 2.0 service different behavior in Bootstrap when using a class to model M:M relationship
I\'m finding strange behavior when I use a service from BootStrap. Consider these domain classes AcademicUnit[详细]
2023-04-04 13:22 分类:问答GRAILS Multiple composite foreign keys sharing the same table field?
I\'m trying to use grails with an existing old style legacy db. I have composite keys everywhere (PK and FK) and... more FK sharing the same table column. An example:[详细]
2023-04-03 21:51 分类:问答How to display a message box in view from controller?
After a user enters some numbers and other data on a form a total is calculated.The user might also choose to enter a discount amount.I use a jQuery AJAX method to send all the data to the getT开发者_[详细]
2023-04-03 16:29 分类:问答How to sort Domain-Objects with attribute with type JodaTime / DateTime in grails 1.3.7?
I\'m working on a small event calendar and i want to sort the events by start time! I\'m using JodaTime Plugin in grails for the startTime attribute. ( http://www.grails.org/JodaTime+Plugin )[详细]
2023-04-03 10:33 分类:问答Spring Security on Grails and Tomcat Security with Realms
I am on the current Grails version 1.3.7, programming against a legacy DB schema on a pretty recent version of mySQL. There are tables for the user and the roles and a third table to link the two in m[详细]
2023-04-02 13:27 分类:问答