Blog
Fetch data from multiple datasource in grails
17 Sep, 13

Fetch data from multiple datasource in grails

Please refer to my other blog titled “Configuring Multiple datasources in Grails” to know how to configure multiple datasources in Grails application. Now here I am writing about how to make finders work with multiple datasources in Grails. Lets say there...
Configure Multiple datasources in grails
17 Sep, 13

Configure Multiple datasources in grails

In my one of assignment, requirement was to support multiple datasources for the application. I searched through the web for the same and found that Grails 2.X.X support the multiple datasources out of the box. You just have to configure it in your DataSource.groovy...
Parse date in grails 2.x.x regardless format
17 Sep, 13

Parse date in grails 2.x.x regardless format

In my last project I had to parse the date but format was not fixed. I have googled for the same and found that grails 2.x.x added a new method in params using that you can parse the date regardless format. Code looks like : def date= params.date('myDate',...