Package org.hibernate.exception.spi
An SPI for
Dialect
-specific exception
interpretation and conversion.-
Interface Summary Interface Description ConversionContext SQLExceptionConversionDelegate Allow aSQLExceptionConverter
to work by chaining together multiple delegates.SQLExceptionConverter An object that interprets JDBCSQLException
s and converts them to subtypes of HibernateJDBCException
s.ViolatedConstraintNameExtractor An object that can extract the name of a violated database constraint from aSQLException
that results from the constraint violation. -
Class Summary Class Description AbstractSQLExceptionConversionDelegate TemplatedViolatedConstraintNameExtractor Extracts a violated database constraint name from an error message by matching the error message against a template.