Dashboard > Grails > Home
Home Log In | Sign Up   View a printable version of the current page.

Added by Ben Walding , last edited by Graeme Rocher on Feb 05, 2008  (view change)
Labels: 
(None)

Last changed May 16, 2008 10:29 by Federico Grilli

In this presentation from QCon San Francisco 2007, Jason Rudolph gives an overview and demonstration of Grails. Topics covered include Java/Grails integration, Grails plugins, creating a complete Grails sample application from scratch, the structure of a Grails application, data querying and persistence, validation, controllers and tag libraries.

Watch video

Posted at 16 May @ 10:29 AM by Federico Grilli | 0 comments
Last changed May 07, 2008 16:24 by Christian Helmbold

The first german wiki for Groovy and Grails developers was launched: www.groovy-forum.de/wiki/ Join it and share your knowledge with other german speaking developers. 

Posted at 07 May @ 4:24 PM by Christian Helmbold | 0 comments

If it just wasn't that Grails is a much cooler name... you probably just should have replied with this image :-D

hmmm, yes rather amusing .. well its no big deal really.. i prefer just grails anyway. If you don't mind I will probably delete your comment as this is a ..ahem.. "family" site and we don't condone such references to foul language

I' ve heard, oracle is supporting grails, great!

http://www.infoworld.com/article/06/05/11/78223_Hnoraclejavaone_1.html
"[Oracle] will also announce intentions to contribute engineering resources to the open source Grails proje
ct."

Hi, everyone

     I downloaded 0.2 and use it created a project, just a very simple test, one domain class,  but when I use the command "grails run-app" to start it , an exception raised as below:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.codehause.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean#114d18f' defined in resource loaded through InputStream: Initialization of bean failed; nest exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is Java.sql.SQLException: unsupported features

how to do with it?

Thanks, Robin

Hi Robin,

Your database doesn't support auto-detection of the Hibernate dialect so you would need to set it explicity for whichever product you are using (see http://grails.org/Configuration for details) on setting a custom dialect.

In future could you post questions like this to the mailing list (see http://grails.org/Mailing+lists) ? You are likely to get a quicker response and the wiki is not really the place for such questions.. thanks!!

Graeme

Hi Graeme,

   Thank you for your answer, it works, but another problem occurs. I have a table which has a column named id, but the id is not a Long type, it is a String and editable as other columns, how to implement this? In Grails domain class, the id is fixed as Long type and can not be edit.

 Thanks. Robin

Hi Graeme,

Since I believe you have an open mind about Groovy and at least some voice about it, I direct this suggestion to you.  Groovy has to find a way to catch more errors at compile time.  A programmer can type junk into a Groovy class and the compiler will not catch it, if it could possibly be a method call or a field that magically appears at runtime.   Here is one suggestion.  Define a keyword, such as "nonDynamic".    If a programmer writes a class that should not have any fields or methods added at runtime, then they could use the keyword, such as

nonDynamic class Foo {

}

Then the compiler, seeing the "nonDynamic" keyword would flag any reference to a nonexistent method in class Foo as a compile error.

Hopefully we can find a way to get the benefits of a dynamic languange without drawbacks.  Thanks. 

 Eric

Bar

I would like to use groovy and grails to implement a service . I would need a final service jar to use it along with my existing application. How do we do that ? Grails only currently allows only to build a war. Will I be able to get my specific service component and it dependents from this war? Pls explain

thanks

bar

Site running on a free Atlassian Confluence Open Source Project License granted to The Codehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.2 Build:#919 Nov 26, 2007) - Bug/feature request - Contact Administrators