| The error started occurring for us when we upgraded hibernate versions from 4.2.21.FINAL to 5.3.4.FINAL. The logs say:
thread="http-nio-8080-exec-297" level=ERROR logger=org.hibernate.internal.ExceptionMapperStandardImpl - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute statement]
They seem to occur when constraint violations occur and don't seem to have a direct adverse impact on callers. It looks like a potential anti-pattern/bug that is causing Hibernate, to both log and throw the error. |