This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hobernate - Session-per-conversation pattern with Extended Session

 
Witold Marshal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For application written according to Session-per-conversation pattern with Extended Session which Session Context should be defined in cfg.xml in property "current_session_context_class" ?
Or maybe it doesn't use any Current Session Type ?
I am thinking about pattern where there is one Session object for all method calls in one EJB (stateful BMT) and all entities are continously managed even when transaction ends (during clients think time). Flush mode is set on Manual so committing single transactions doesn't flush changes to database and real flush occures at the end of the conversation in the last transaction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic