Top "Grails" questions

Grails is an Open Source, full stack, web application framework that uses the Groovy programming language (which is in turn based on the Java virtual machine (JVM) and Java.

Grails BuildConfig.groovy, difference between build, compile, and runtime?

What's the difference between build, runtime, and compile, in BuildConfig.groovy (1.3.7) grails.project.dependency.resolution = { plugins { build "acme:acme-cache:latest.…

grails build compilation config
groovy.lang.MissingPropertyException: No such property: configClass for class: java.lang.String

I am trying to run my grails project using grails run-app command, but the following error has occured: 2013-06-05 17:01:49,409 […

grails grails-2.1
Grails findAll with sort, order, max and offset?

I want to integrate sort, order, max and offset in a findAll query. The following works fine: def books = Book.…

grails groovy gorm
How to delete an index in Grails with Liquibase

I have a table generated by GORM (Grails Domain). It has foreign key / index that generated random characters like FKAC7…

database grails migration gorm liquibase
Implement a REST API in a Grails app

I was wondering what would be the best approach to make a Grails app offer a RESTful API (some CRUD …

web-services api rest grails grails-2.0
Grails - Removing an item from a hasMany association List on data bind?

Grails offers the ability to automatically create and bind domain objects to a hasMany List, as described in the grails …

data-binding grails groovy dns associations
Getting JSON data on server side with Grails

Once I post JSON data to a url in Grails, how can I get access to that data inside of …

json grails groovy
How to use Hibernate @Index annotation properly?

i have a java class used as an entity that has 2 classes that inherit from it. this class has some …

java hibernate grails indices
GSP: check if model (variable) is empty not working

Im new to grails (1.3.7) and Im trying to get something to work: In my controller, I give back a few …

grails groovy model gsp
Externalizing Grails Datasource configuration

Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available …

configuration grails datasource external credentials