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(java.sql.SQLException sqlException,
java.lang.String message,
java.lang.String sql)
Convert the given SQLException into Hibernate's JDBCException hierarchy.
|
getConversionContextpublic CacheSQLExceptionConversionDelegate(ConversionContext conversionContext)
public JDBCException convert(java.sql.SQLException sqlException, java.lang.String message, java.lang.String sql)
sqlException - The SQLException to be converted.message - An optional error message.sql - Optionally, the sql being performed when the exception occurred.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.