Package org.hibernate.exception.spi
Interface ViolatedConstraintNameExtracter
-
- All Known Implementing Classes:
TemplatedViolatedConstraintNameExtracter
public interface ViolatedConstraintNameExtracter
Defines a contract for implementations that can extract the name of a violated constraint from a SQLException that is the result of that constraint violation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
extractConstraintName(java.sql.SQLException sqle)
Extract the name of the violated constraint from the given SQLException.
-