Fixed
Details
Assignee
Former userFormer user(Deactivated)Reporter
Steve EbersoleSteve EbersoleComponents
Fix versions
Priority
Major
Details
Details
Assignee
Former user
Former user(Deactivated)Reporter
Steve Ebersole
Steve EbersoleComponents
Fix versions
Priority
Created January 6, 2012 at 8:34 PM
Updated February 9, 2012 at 6:22 AM
Resolved February 8, 2012 at 7:48 AM
Currently dialects return a
SQLExceptionConversion
which takes on full responsibility for conversion. I addedSQLExceptionConversionDelegate
to support a more collaborative/chained approach. The idea is that eventually we would have just a singleSQLExceptionConversion
(or maybe it becomes a class instead of interface) that contains multipleSQLExceptionConversionDelegate
instances to which it would delegate.The
SQLExceptionConversionDelegate
instances would be determined from:a "static" one based on the JDBC 4 defined
SQLException
hierarchyone for SQLState codes for either X/Open or SQL-2003 codes, depending on
java.sql.DatabaseMetaData#getSQLStateType
vendor specific error code or SQLState interpretations via Dialect