title: Data integrity exception with hibernate
body: <p>I created 300 records from backend with primary keys,  So now when these primary key's are generating through hibernate then data integrity exception shows.
  Hilo algorithm is using to generate key's</p>
  
  <pre><code>org.springframework.dao.DataIntegrityViolationException: (Hibernate operation: Could not execute JDBC batch update): data integrity violated by SQL 'insert into user_log (user_role_id, login_time, logout_time, appuser_id, logged_in_IP, id) values (?, ?, ?, ?, ?, ?)'; nested exception is org.postgresql.jdbc2.PBatchUpdateException: Batch entry 0 insert into user_log (user_role_id, login_time, logout_time, appuser_id, logged_in_IP, id) values ( was aborted. Call getNextException() to see the cause.
  Batch entry 0 insert into user_log (user_role_id, login_time, logout_time, appuser_id, logged_in_IP, id) values ( was aborted. Call getNextException() to see the cause.
  </code></pre>