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.

How can I return a 404/50x status code from a Grails Controller?

I have a controller that needs to return a 404 page and status code on certain conditions. I can't seem to …

grails error-handling groovy http-status-code-404
Connection Pool Exception: Cannot get a connection, pool error Timeout waiting for idle object

I am running a web application in Production that recently crashed after it was under some stress. I would guess 100…

hibernate exception tomcat grails apache-commons-dbcp
Grails: Splitting a string that contains a pipe

I’m trying to split a String. Simple examples work: groovy:000> print "abc,def".split(","); [abc, def]===> null …

java regex grails groovy split
Binding a Grails date from params in a controller

Why is it so hard to extract the date from the view via the params in a grails controller? I …

data-binding date grails groovy controller
Difference between findAll, getAll and list in Grails

With Grails there are several ways to do the same thing. Finds all of domain class instances: Book.findAll() Book.…

grails gorm
StaleObjectStateException: Row was updated or deleted by another transaction?

I do the following: def currentUser = springSecurityService.currentUser currentUser.name = "test" currentUser.save(flush: true) // some other code currentUser.gender = "…

spring hibernate grails gorm grails-2.0
Grails domain class, String field TEXT and LONGTEXT

In a Grails domain class, how do I set the constraint for a String field so that its MySQL column …

grails
Do I ever need to explicitly flush GORM save calls in grails?

I have a strange situation which appears to indicate a GORM cacheing problem //begin with all book.status's as UNREAD …

grails gorm object-persistence
Intellij IDEA setup on OS X

What's the accepted procedure and paths to configure jdk and global library source code for Intellij IDEA on OS X?

java macos grails intellij-idea
How do I update metadata for an existing Amazon S3 file?

I need to update the cache control header in all AmazonS3's Cloud Files. However, I can't figure out how …

java grails amazon-web-services amazon-s3 jclouds