Interface SQLExceptionConverter

  • All Superinterfaces:
    java.io.Serializable

    public interface SQLExceptionConverter
    extends java.io.Serializable
    Defines a contract for implementations that know how to convert a SQLException into Hibernate's JDBCException hierarchy. Inspired by Spring's SQLExceptionTranslator.

    Implementations must have a constructor which takes a ViolatedConstraintNameExtracter parameter.

    Implementations may implement Configurable if they need to perform configuration steps prior to first use.

    See Also:
    SQLExceptionConverterFactory