• Post Reply Bookmark Topic Watch Topic
  • New Topic

HOw to manage the session object after transaction is completed?  RSS feed

 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
For hibernate there are below session methods():
1.session.flush();
2.session.close();
3.session.evict(arg0);
4.session.clear();

What is the basic difference between all and after i do session.save(arg) , what should be the order of there methods invocation?

Thanks
Amarshi

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best place to get answer about what particular methods do are the API javadocs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!