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.
Hobernate - Session-per-conversation pattern with Extended Session
posted 4 years ago
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.