The Grails plugin allows you to dynamically add and remove new DataSources to a running Grails environment. Within the code you can easily switch between registered DataSources by calling the dynamic method 'withDataSource(String id, Closure block)
- programmatically add new DataSources during runtime
- easily switch between DataSources in controllers, services or domain classes
- database tables are automatically created reflecting your whole domain model
- dynamic Gorm-methods will apply to the currently selected DataSource
Be the first to post a review of Grails DynamicDataSources Plugin!