top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

+1 vote
1,091 views

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.

posted Jul 8, 2014 by Sachin Patil

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Oracle 12c should fit your needs. Unless you want to recreate this feature by your self.

1 Answer

0 votes

If you want to recreate this feature yourself with different databases youre 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.

answer Jul 8, 2014 by anonymous
...