Feature request:
Hibernate has a ViolatedConstraintNameExtractor interface and uses dialect-specific implementations to expose the constraint name in its ConstraintViolationException.
Could we have something similar in spring-data-relational, or if we have that already, could someone please point me there?
A possible Workaround is of course to write my own constraint name extractor and get some inspiration from the EXTRACTER (sic!) instances of the hibernate dialects.
Feature request:
Hibernate has a ViolatedConstraintNameExtractor interface and uses dialect-specific implementations to expose the constraint name in its ConstraintViolationException.
Could we have something similar in spring-data-relational, or if we have that already, could someone please point me there?
A possible Workaround is of course to write my own constraint name extractor and get some inspiration from the
EXTRACTER(sic!) instances of the hibernate dialects.