Using hibernate 2.1 I'm trying to set up a sessionFactory that can use multiple data sources. Is this possible?
Using hibernate 2.1 I'm trying to set up a sessionFactory that can use multiple data sources. Is this possible?
Not directly - you have to create multiple session factories and then create some sort of multiplexor/switch on top them. There have been some discussions before in the forum - do a search.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags