grails-domain-class
How can a Domain Class cascade 'all-delete-orphan' to a child it has no reference to?
In Grails you can have a child class: class Child { Father father static belongsTo = [Father, Mother] } With two parent classes[详细]
2023-03-03 05:34 分类:问答Split a domain and migrate change to database
I have a domain class and it already has a lot of data in the database. Now I need to split the domain into two. Is th开发者_JS百科ere a way by which the data in the database will automatically be spl[详细]
2023-03-03 01:38 分类:问答Grails & JPA annotations + hibernate mapping files. How to get rid of this error?
I\'m trying to reuse some of the entity classes with JPA-annotations in my project. But unfortunately I\'m newbie in Hibernate & JPA too. When I try to generate controllers with command[详细]
2023-02-26 15:50 分类:问答Grails Integration Test Does NOT Rollback
I\'m learning grails from the book \"Grails In Action\" and I\'m trying to run integration tests from the examples.In the book it says that each integration test function should roll back its operatio[详细]
2023-02-25 06:38 分类:问答Domain class not accessible in my controller
I\'m new to Grails and groovy.. I created a domain class \\grails-app\\domain\\Abc Now i created a 开发者_JAVA百科controller in[详细]
2023-02-22 09:32 分类:问答Page Refresh(F5) changes the data on the screen after successful save in db in Grails app
I have developed a grails/groovy application for a legacy database which has user maintenance page to (add,edit) user information. The page is using editinplace and ajax to update the information.[详细]
2023-02-19 06:52 分类:问答Grails: Property Null error
I\'ve a domain called Modulo with some properties and a Controller with a method that create a object from model and save it, when execute save the shell show this error:[详细]
2023-02-17 17:54 分类:问答Grails / Gorm : Difference between declaring object and describing relationship?
I\'m having trouble understanding the difference between declaring a domain-object in another domain and specifying the relationship between the domains.[详细]
2023-02-16 17:11 分类:问答Generate XML Schema for Domain Classes in Grails
Could you please suggest a service or plugin开发者_开发百科 which generate the corresponding XML Schema for a given Domaing Class or for all Domain Classes of Grails project.This plugin does exactly w[详细]
2023-02-13 21:04 分类:问答Version grails domain class by DateTime
I\'d like to version a grails domain class by DateTime such that: each primary ID + DateTime property results in a new DB row (i.e. a new DB row per version)[详细]
2023-02-12 19:10 分类:问答