Announcement Announcement Module
Collapse
No announcement yet.
SQL error codes for Adaptive Server Enterprise Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SQL error codes for Adaptive Server Enterprise

    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.

  • #2
    the ASE name was added to the Sybase error codes recently and should work in 1.1.4 (released yesterday).

    Comment


    • #3
      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?

      Comment


      • #4
        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

        Comment

        Working...
        X