The TemplatedViolatedConstraintNameExtracter implemented in PostgreSQL81Dialect is unable to understand NestedExceptions. This is causing it to be unable to determine the constraint violation type.