db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Shekhar (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1140) Provide JDBC4 SQLException subclasses support in network driver
Date Thu, 23 Mar 2006 20:25:21 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1140?page=all ]

Anurag Shekhar updated DERBY-1140:

    Attachment: derby-1140_2.diff

I have moved the code to create exceptions from shared class to SQLException40 of client driver.

Description of this patch
added a new static field in SqlException to hold SQLException factory. This field is initialized
with SQLExceptionFactory class
ClientJDBCObjectFactoryImpl40 overwrites this field by SQLExceptionFactory40.
SQLExceptionFactory40 over writes getSQLException method SQLExceptionFacotory to create jdbc4.0
based on the sqlstate

This patch changes output of some of the test cases. I have attached changes in out files
as a seperate patch (derby-1140_2-outfiles.diff) to make
it easier to see the code changes 

> Provide JDBC4 SQLException subclasses support in network driver
> ---------------------------------------------------------------
>          Key: DERBY-1140
>          URL: http://issues.apache.org/jira/browse/DERBY-1140
>      Project: Derby
>         Type: Sub-task
>     Versions:
>  Environment: jdk1.6 
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>  Attachments: derby-1140.diff, derby-1140_2-outfiles.diff, derby-1140_2.diff, svnstat.out

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message