Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Create Two Session Factories in Spring

 
Ulaganathan Arunagiri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Define two of them in your configuration? Each with different names.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic