我使用主键从后端创建了300条记录,所以现在当这些主键通过hibernate生成时,数据完整性异常就会显示出来。 Hilo算法用于生成密钥
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.