title: When does hibernate close a cursor?
body: <p>Recently I'm working on a Spring+Hibernate project, with Oracle. I find out there are always hundreds of cursors opened at the same time.
  I have no clew to solve this problem. Can anyone give me some suggestions? or some references?</p>
  
  <p>PS:I know it's not a very good question, but I found it's hard to search for an accurate document, and I don't have time to work through all hibernate documents currently.</p>
  
  <p>PS2: I used a lot of  criteria and normal select query in the project.</p>