Hi,
I like Spring and Hibernate, and think they do a wonderful job. I have a task that I haven't attempted to do with these frameworks, where I need to access database-partitioned data. Essentially I have independent databases configured with the same schema, but different user data. I can programatically figure out which database I need to access, but I need to figure out how to work with Spring and Hiberante to work well in this model.
Essentially, a user logging in would get a session active on their destination database and the program logic would work totally consistently between different users. Presumably the hibernate caches would be unique..
So, does anybody have any pointers to this sort of configuration?
Thanks for your assistance!


Reply With Quote