title: Exception ORA-08103: object no longer exists on using setfetchsize of Hibernate
body: <p>I'm using Hibernate. I need to fetch around 1000000 records and it will cause timeout exception. So I'm using <code>setfetchsize</code> for 6000 records, so that it will distribute the operation in multiple transactions each of 6000 records.</p>
  
  <p>It will take around 21 hours to fetch all.</p>
  
  <p>But meanwhile retrieving records if somebody deletes one of the record which was to be fetched then I get <code>ORA-08103: object no longer exists</code>.</p>
  
  <p>Now I want to skip that object which is deleted while retrieving. How can I do this?</p>