[ http://issues.apache.org/jira/browse/DERBY-819?page=all ]
Anurag Shekhar updated DERBY-819:
---------------------------------
Attachment: derby-819-onlyforreview.diff
I am attaching this patch only to get the early feed back before I go ahead and
make further changes.
In this I have introduced a new method in InternalDriver to create
SQLExceptionFactory. The exception factory is created
and stored in static variable in internal driver in boot method.
The method (createSQLExceptionFactory is overwritten in Driver40.java to
instantiate class which creates JDBC4.0 specific exceptions)
The factory once created is retained in variable even after database is down.
I will moving all exception related methods to SQLExceptionFactory from
Utils.java
> Provide JDBC4 SQLException subclasses support in Embedded driver
> ----------------------------------------------------------------
>
> Key: DERBY-819
> URL: http://issues.apache.org/jira/browse/DERBY-819
> Project: Derby
> Type: Sub-task
> Components: JDBC
> Environment: all
> Reporter: Anurag Shekhar
> Assignee: Anurag Shekhar
> Priority: Minor
> Attachments: derby-819-onlyforreview.diff, derby-819.diff, stat.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