CustomSQLErrorCodesTranslation
Hi
Reading p201 of the book - I would like to do my own error handling for a range of application exceptions being thrown out of an Oracle stored procedure (in the range of 20000 to 29999). Is there any way to add the customTranslations property in my own application context files or do I really have to edit the core sql-error-codes.xml ? Can I extend the customSqlErrors bean in another file ?
If I edit the sql-error-codes.xml, what happens when we need a new version of spring ? The problem is that you are asking me to make application-specific config in a core spring-project -released component. We have to remember to open up the jar and edit the file again.
Cheers
Chris
|