2010/1/28 Saptarshi Purkayastha <sun...@gmail.com> > Hi Lars, > > I discussed this with Ola and Bob once about how we can easily switch > between databases... Is that what you are talking about here?? The better > longterm approach would be to couple Spring-based API with the hibernate > layer and provide access to the layer only through the API without any > web/struts layers >
Yes talking about switching databases runtime. What Spring-based API are you referring to here? > > Another easy solution is to use/create a TargetSource with different > SessionFactories... We create or re-use the TargetSource and point those to > the database that we want to use. > > Hope you are asking what I'm answering > >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp