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)

Features

  • 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

Project Activity

See All Activity >

License

Apache License V2.0

Follow Grails DynamicDataSources Plugin

Grails DynamicDataSources Plugin Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Grails DynamicDataSources Plugin!

Additional Project Details

Intended Audience

Developers

Programming Language

Groovy, Java

Registered

2010-10-25