title: What is the difference between evict and detach in hibernate?
body: <p>I'm having a bit of trouble understanding the difference between <code>evict</code> and <code>detach</code>, does <code>evict</code> detach the session anyway, if so what is the difference? I read it removes the object from the second level cache but didn't get it.</p>