title: Hibernate session-per-request vs session-per-operation pattern
body: <p>I was reading about session &amp; transaction from <a href="https://developer.jboss.org/wiki/Sessionsandtransactions" rel="nofollow">Sessions and transactions</a> wiki page. Inside the context of <strong>The scope of a unit of work</strong> I read about <strong>session implementation patterns</strong> namely 
  <em>Session-per-request</em>, <em>Session-per-operation</em>, <em>Session-per-request-with-detached-objects</em> &amp; <em>Session-per-conversation</em>.</p>
  
  <p>As <em>I don't have deep knowledge of Hibernate</em>, I have some queries on this. </p>
  
  <ul>
  <li>I didn't understand what is the difference between them ?</li>
  <li>In which condition they are applicable ?</li>
  <li>Can anybody give real life examples of using these patterns ?</li>
  </ul>
  
  <p>Thank You</p>