Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[SPRING] Multiple sessions factories  RSS feed

 
Francisco Santana
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good morning, people.

I'm in a first project using Spring and I need some help here.
I want that one manager transaction take care about two session factories.

applicationContext.xml



UsuarioBO e ArtigoBO extend HibernateDaoSupport.



This exception is launched when the code above is performed:



Agradeço qualquer ajuda.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!