public interface SQLExceptionConverter
ViolatedConstraintNameExtracter parameter.
Implementations may implement Configurable if they need to perform
configuration steps prior to first use.SQLExceptionConverterFactory| Modifier and Type | Method and Description |
|---|---|
JDBCException |
convert(SQLException sqlException,
String message,
String sql)
Convert the given SQLException into Hibernate's JDBCException hierarchy.
|
JDBCException convert(SQLException sqlException, String message, String sql)
sqlException - The SQLException to be converted.message - An optional error message.ConstraintViolationException, JDBCConnectionException, SQLGrammarException, LockAcquisitionExceptionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved