Re: How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread Néstor Boscán
If you want to recreate this feature yourself with different databases
you're going to have to map your entrypoint (initial URL) to your specific
client and from there to the specific database datasource. Once you have
the data source, associate it with the SessionFactory and everything will
work correctly from there.

Regards,

Néstor


On Tue, Jul 8, 2014 at 3:38 PM, john feng  wrote:

> Oracle 12c should fit your needs. Unless you want to recreate this feature
> by your self.
>
>
> On Tue, Jul 8, 2014 at 5:36 AM, Kevin Peterson 
> wrote:
>
> > Hi,
> >
> > We have an application wherein we want to keep separate database for each
> > client. We want to achieve this using multi tenancy approach. A working
> > example will be highly appreciated.
> >
> > Thanks,
> > Kevin Peterson
> >
> >
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>


Re: How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread john feng
Oracle 12c should fit your needs. Unless you want to recreate this feature
by your self.


On Tue, Jul 8, 2014 at 5:36 AM, Kevin Peterson  wrote:

> Hi,
>
> We have an application wherein we want to keep separate database for each
> client. We want to achieve this using multi tenancy approach. A working
> example will be highly appreciated.
>
> Thanks,
> Kevin Peterson
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread Kevin Peterson
Hi, 

We have an application wherein we want to keep separate database for each 
client. We want to achieve this using multi tenancy approach. A working example 
will be highly appreciated.

Thanks,
Kevin Peterson



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org