• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Illegal attempt to associate a collection with two open s essions

 
Maneesh Chauahn
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing the Illegal attempt to associate a collection with two open
sessions. How can i make sure that first session get closed before hibernating making the second session.

Thanks in advance for your prompt answer

Maneesh Chauhan
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well you can call session.close() on the first session.

Actually, can we see the code for the two sessions?

Thanks

Mark
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic