← Back to team overview

dhis2-devs team mailing list archive

Re: Installation on Ubuntu

 

2010/1/28 Saptarshi Purkayastha <sunbiz@xxxxxxxxx>

> 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
>
>>
>>
>

Follow ups

References