Skip to content

Feature: Expose names of violated constraints in o.s.d.DataIntegrityViolationException #2322

Description

@dschulten

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions