Anyone try GORM with Ratpack yet?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Anyone try GORM with Ratpack yet?

dbirtwell
Now that GORM has been released in a way it can be used in Groovy scripts (as of Grails 2.3.6), has anyone used it yet with Ratpack?

Press release for Grails 2.3.6:
http://grails.org/2.3.6%20Release%20Notes

RunHibernateGorm.groovy
https://gist.github.com/graemerocher/c25ec929d9bcd1adcbea

Accessing Data with GORM:
http://spring.io/guides/gs/accessing-data-gorm/


Reply | Threaded
Open this post in threaded view
|

Re: Anyone try GORM with Ratpack yet?

Robert Yokota
I'm using GORM in my AngularJS + Ratpack code generator:

https://github.com/rayokota/generator-angular-ratpack
Reply | Threaded
Open this post in threaded view
|

Re: Anyone try GORM with Ratpack yet?

dbirtwell
Thanks!

I'll try to modify my CRUD application to use it ... when I get some time ;-)

Dave
rus
Reply | Threaded
Open this post in threaded view
|

Re: Anyone try GORM with Ratpack yet?

rus
In reply to this post by Robert Yokota
Looks really cool. Be aware though that you have blocking code running in the foreground, this should be in the background really
Reply | Threaded
Open this post in threaded view
|

Re: Anyone try GORM with Ratpack yet?

Robert Yokota
Thanks for the feedback.  I changed the code to be non-blocking.  Let me know if there is anything else than can be improved.