Hi,
We are getting the following message.
INFO SQLErrorCodesFactory - SQL error codes for 'Adaptive Server Enterprise' not found
Could someone help in explaining how we would configure the error codes for Sybase?
Thanks.
Hi,
We are getting the following message.
INFO SQLErrorCodesFactory - SQL error codes for 'Adaptive Server Enterprise' not found
Could someone help in explaining how we would configure the error codes for Sybase?
Thanks.
the ASE name was added to the Sybase error codes recently and should work in 1.1.4 (released yesterday).
Darren Davison.
Public Key: 0xE855B3EA
Are the error codes for a particular database loaded automatically or do you need to configure this somewhere? Where in the distribution are the error codes for ASE? Which Spring classes load these error codes?
org.springframework.jdbc.support.SQLErrorCodesFact ory loads the codes. Please see the Javadoc for it, which will explain the locations it looks for for the XML definitions.
Note that you can add mappings to custom exceptions also (so long as they extend DataAccessException).
Rgds
Rod