db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject Re: [jira] Updated: (DERBY-819) Provide JDBC4 SQLException subclasses support in Embedded driver
Date Tue, 17 Jan 2006 11:19:17 GMT
Please attach the output from svn stat too. It will make verification
of the patch much easier.


>>>>>>>>>>>> Anurag Shekhar (JIRA) wrote (2006-01-17 11:20:43):
>      [ http://issues.apache.org/jira/browse/DERBY-819?page=all ]
> 
> Anurag Shekhar updated DERBY-819:
> ---------------------------------
> 
>     Attachment: embedexception.diff
> 
> code changes to support jdbc4 SQLException and the test case for the same.
> 
> Moved creation of EmbeddedException from java/engine/org/apache/derby/impl/jdbc/Util.java
to
> java/engine/org/apache/derby/impl/jdbc//SQLExceptionFactory.java (new class)
> In SQLExceptionFactory.java checking if the jvm version lesser than J2SE_16 creating
the EmdeddedException.
> In case the jvm version is J2SE_16 or above JDBC40SQLExceptionFactory is instantiated
using reflection in which 
> based on SQLState the new Exception is decided if the SQLState doesn't falls under any
of the new category SQLException
> is returned.
> 
> > 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: embedexception.diff
> >
> 
> 
> -- 
> 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
> 

-- 
Bernt Marius Johnsen, Database Technology Group, 
Staff Engineer, Technical Lead Derby/Java DB
Sun Microsystems, Trondheim, Norway

Mime
View raw message