Back to Library

Grails Without Hibernate/Datasource

grails create-app nodb
cd nodb
grails uninstall-plugin hibernate
rm grails-app/conf/DataSource.groovy
grails create-controller Foo
<add "render "hi bar" to the index closure of ./grails-app/controllers/FooController.groovy>
grails run-app
http://localhost:8080/nodb/foo - prints hi bar

Grails JPA (and porting from Play)

grails install-plugin jpa
 
grails.txt · Last modified: 2011/10/10 03:29 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd