[ http://issues.apache.org/jira/browse/DERBY-1140?page=all ]
Anurag Shekhar updated DERBY-1140:
----------------------------------
Attachment: derby-1140_2.diff
derby-1140_2-outfiles.diff
svnstat.out
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 exception
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: 10.2.0.0
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira