This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HibernateService with multiple datasources

 
Syed Muhammad Ali Naqvi
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to All. I am using multiple datasources in my jboss-service.xml file. When I do the lookup for specific datasource (e.g java:/pcountsDS) it looks it up but overwrite it with the later one. So when my HQL is executed I get the results from second(last) datasource. It always loads the last datasource connection on the file for instance in my case it always loads java:/pcountsDS no matter what datasource I looked for.

Thanks
Syed Muhammad Ali Naqvi


 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Setting that attribute twice is just going to the value that was last set, since it's just one single property after all. What exactly are you trying to do?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic