A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Other Application Frameworks
Author
How to Create Two Session Factories in Spring
Ulaganathan Arunagiri
Greenhorn
Joined: Oct 13, 2008
Posts: 1
posted
Oct 13, 2008 22:29:00
0
Hi,
I want to connect two different databases in spring using Session Factory.So please give me suggestion how to create and access two session factories.
Thanks
Nathan
Mark Spritzler
ranger
Sheriff
Joined: Feb 05, 2001
Posts: 17225
1
I like...
posted
Oct 15, 2008 19:24:00
0
Define two of them in your configuration? Each with different names.
Mark
Perfect World Programming, LLC
-
Two Laptop Bag
-
Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
http://aspose.com/file-tools
subject: How to Create Two Session Factories in Spring
Similar Threads
Dynamic Schema Access in Hibernate
Multiple Database configurations with Hibernate and caching
HibernateUtil needed for multiple databases
getting hibernate session in Struts2 (Urgent)
How to create session attribute once the session is established in Spring MVC?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter