There have been a few requests on the Grails user mailing list about using multiple data sources in a Grails app, i.e. some domain classes use one data source and database and others use another. Grails doesn’t directly support this – there’s only oneDataSource
and oneSessionFactory
, and all domain classes use them. But it turns out it’s not that difficult to support this (and it doesn’t involve too many ugly hacks …)
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Saturday, September 17, 2011
A Grails Plugin for Multiple DataSources | An Army of Solipsists
An Army of Solipsists » Blog Archive » A Grails Plugin for Multiple DataSources
Labels:
Database,
Datasource,
Grails
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment