[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-6944) Update Dialects to return SQLExceptionConversionDelegate
Gail Badner (JIRA)
noreply at atlassian.com
Tue Jan 31 16:44:09 EST 2012
[ https://hibernate.onjira.com/browse/HHH-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner reassigned HHH-6944:
--------------------------------
Assignee: Gail Badner (was: Hardy Ferentschik)
> Update Dialects to return SQLExceptionConversionDelegate
> --------------------------------------------------------
>
> Key: HHH-6944
> URL: https://hibernate.onjira.com/browse/HHH-6944
> Project: Hibernate ORM
> Issue Type: Improvement
> Components: core
> Affects Versions: 4.0.1
> Reporter: Steve Ebersole
> Assignee: Gail Badner
> Fix For: 4.1.0
>
>
> Currently dialects return a {{SQLExceptionConversion}} which takes on full responsibility for conversion. I added {{SQLExceptionConversionDelegate}} to support a more collaborative/chained approach. The idea is that eventually we would have just a single {{SQLExceptionConversion}} (or maybe it becomes a class instead of interface) that contains multiple {{SQLExceptionConversionDelegate}} instances to which it would delegate.
> The {{SQLExceptionConversionDelegate}} instances would be determined from:
> # a "static" one based on the JDBC 4 defined {{SQLException}} hierarchy
> # one 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list