Top "Gorm" questions

GORM is Grails' object relational mapping (ORM) implementation.

Grails multi column indexes

Can someone explain how to define multi column indexes in Grails? The documentation is at best sparse. This for example …

database grails gorm indexing
Explain belongsTo in Grails

From the Grails belongsTo documentation, what is the use of class Book { static belongsTo = Author } What is the impact of …

grails gorm belongs-to
Testing the Oracle to_date function

I'm writing an integration test in Grails using GORM. I want to do something like the following: delete from Statistic …

oracle testing grails gorm
Grails GORM MySQL generate TEXT or LONGTEXT column

I am using Grails 2.1.1 and MySQL 5.5.27 Community Server. I need to have a Domain class field generate a TEXT or …

mysql grails gorm grails-2.0
grails composite "unique constraint", but how?

I'm very close to a solution but anything is still wrong, hope to get help, thanks in advance. I have …

grails foreign-keys gorm composite-key
Changing GORM table name

I'm fighting to get the following mapping working in Grails 1.3.1 and MySQL: class Login { int id String email static mappings = { …

grails gorm
Grails - save the transient instance before flushing grails Error?

I am currently developing a Grails Application and I am working with the Spring Security and UI plug-ins. I have …

grails gorm save domain-model
Grails and Hibernate's Lazy Initialization Exception

Where are the most common places where you've gotten an org.hibernate.LazyInitializationException in Grails, what was the cause and …

hibernate grails gorm lazy-initialization
grails hasOne vs direct member variable

Let's say I have a grails domain class that looks like class Person { Address address } I could also declare it …

grails foreign-keys gorm has-one
Binding JSON to nested Grails Domain Objects

I'm developing a RESTful interface which is used to provide JSON data for a JavaScript application. On the server side …

json data-binding grails gorm