Blog
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',...