| What you have here is a ConstraintViolationException, which means that you have Hibernate Validator there, validating something and returning a constraint violation with the could not execute statement message. This is not a default constraint so we don't really know what you're trying to do. It might be a bug but we would need a self contained test case to understand what's going on. You can find our test case template here: https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-5 . |