I have two domains that are a part of a one-to-many relations ship.I was wondering how i can query the child for the parents FK?bellow is the psue开发者_JS百科do-code for parent/child
I have a question about creating an associative table, in grails, to reconcile a many-to-many relationship.The setup is this:
I\'m working on an app to track sessions for a conference and want to allow the user to select dates from a drop down but have the dates stored as a date in the oracle database.I\'ve tried using the d
In a edit page, I am passing the domain object as JSON object to be manipulated at client side using jQuery.
I am trying to add data to a database, in grails but get this error: Error 500: Executing action [getData] of controller [mgr.CollectDataEntryController] caused exception: groovy.lang.MissingMethodEx
I want to be able to set default values for some fields in my domain classes. Till now I had a class which stored a Map of settings for my whole project, with a task in mind to move this map into a re
Is there any advantages or any available pattern where in we create just the Domain classes and jar it, to be used in different grails applications applic开发者_开发知识库able.The standard approach fo
What is the best way to map two entities in GORM when the primary key of one table is also a foreign key from another table. For ex:
I want to allow users to traverse the domain classes and print out dumps of stuff.My frist problem: assuming the following works just fine:
What\'s the best way to validate that the grails domain classes are in sync with a database? It\'s legacy database and i can\'t build it开发者_如何转开发 from the domain classes. An interesting idea h