Results 1 to 4 of 4

Thread: SQL error codes for Adaptive Server Enterprise

  1. #1
    Join Date
    Jan 2005
    Posts
    10

    Default 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. #2
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    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

  3. #3
    Join Date
    Jan 2005
    Posts
    15

    Default

    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?

  4. #4
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    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
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Replies: 1
    Last Post: Feb 3rd, 2010, 05:41 PM
  2. Replies: 6
    Last Post: Sep 29th, 2005, 04:25 AM
  3. hibernate pagination
    By oliverchua in forum Data
    Replies: 8
    Last Post: Sep 23rd, 2005, 06:06 PM
  4. Transaction Management
    By caverns in forum Data
    Replies: 3
    Last Post: Mar 8th, 2005, 06:38 AM
  5. Replies: 1
    Last Post: Nov 23rd, 2004, 08:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •