Top Interfaces Classes
[default module]

Package org.hibernate.exception.spi


Interface Summary

Modifier and TypeInterface and Description
public interface
Configurable

The Configurable interface defines the contract for SQLExceptionConverter impls that want to be configured prior to usage given the currently defined Hibernate properties.

public interface
public interface
SQLExceptionConversionDelegate

Allow a SQLExceptionConverter to work by chaining together multiple such delegates.

public interface
SQLExceptionConverter

Defines a contract for implementations that know how to convert a SQLException into Hibernate's JDBCException hierarchy.

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.

Class Summary

Modifier and TypeClass and Description
public abstract class
public class
SQLExceptionConverterFactory

A factory for building SQLExceptionConverter instances.

public abstract class
TemplatedViolatedConstraintNameExtracter

Knows how to extract a violated constraint name from an error message based on the fact that the constraint name is templated within the message.