Bookmark Topic Watch Topic
  • New Topic

getCurrentSession() after the transaction commits automatically close the current session?

 
stshiva raaj
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Report post to moderator
Will HibernateSessioFactory.getCurrentSession() after the transaction commits automatically close the current session? So I can not use session instance after commit. Correct ?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not create multiple topics for the same question. Please continue the discussion in your other thread here http://www.coderanch.com/t/634895/ORM/databases/Hibernate-getCurrentSession-close
 
    Bookmark Topic Watch Topic
  • New Topic