public class CacheSQLExceptionConversionDelegate extends AbstractSQLExceptionConversionDelegate
SQLExceptionConversionDelegate
implementation specific to Caché SQL, accounting for its custom
integrity constraint violation error codes.Constructor and Description |
---|
CacheSQLExceptionConversionDelegate(ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
JDBCException |
convert(SQLException sqlException,
String message,
String sql)
Convert the given SQLException into Hibernate's JDBCException hierarchy.
|
getConversionContext
public CacheSQLExceptionConversionDelegate(ConversionContext conversionContext)
public JDBCException convert(SQLException sqlException, String message, String sql)
sqlException
- The SQLException to be converted.message
- An optional error message.sql
- Optionally, the sql being performed when the exception occurred.Copyright © 2019 JBoss by Red Hat. All rights reserved.