[ http://issues.apache.org/jira/browse/DERBY-1253?page=all ]

Rick Hillegas updated DERBY-1253:
---------------------------------

    Attachment: bug1253_verifier4_networkResultSet.diff

Committed bug1253_verifier4_networkResultSet.diff at subversion revision 
400172. This makes the following changes:

1) Changes the NotSupported exception raised by network ResultSets to be an 
UnimplementedFeature exception which we map to SQLFeatureNotSupportedException 
under JDBC4. This in turn lets UnsupportedVetter see which methods aren't 
supported by network ResultSets.

2) Made a change to Sed so that we can eliminate another jdk16-specific canon 
(the one for the updatableResultSet test).

3) Expanded the table of excluded methods in UnsupportedVetter. This table now 
contains additional methods just made optional by the JDBC4 expert group. Those 
additional methods are documented in DERBY-1281.

It would be helpful if someone could run updatableResultSet on the J2ME vm to 
verify whether we need canon changes for that platform.

Derbyall passes on 1.4 modulo wisconsin diffs. I also verified the 
updatableResultSet test on jdk13 and jdk16 under the embedded and 
DerbyNetClient frameworks. Touches the following files:

M      java/testing/org/apache/derbyTesting/functionTests/harness/Sed.java
M        
java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/jdk16/updatableResultSet.out
M      
java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/jdk14/updatableResultSet.out
M      java/client/org/apache/derby/client/am/ResultSet.java
M      
java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/UnsupportedVetter.java

> Verify that we don't raise SQLFeatureNotSupportedException for mandatory 
> methods
> --------------------------------------------------------------------------------
>
>          Key: DERBY-1253
>          URL: http://issues.apache.org/jira/browse/DERBY-1253
>      Project: Derby
>         Type: Improvement

>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Dyre Tjeldvoll
>      Fix For: 10.2.0.0
>  Attachments: bug1253_verifier.diff, bug1253_verifier2.diff, 
> bug1253_verifier3_complianceChapter.diff, 
> bug1253_verifier4_networkResultSet.diff, derby-1253.v1.diff, 
> derby-1253.v1.stat
>
> The jdk16 javadoc marks optional methods as being able to raise 
> SQLFeatureNotSupportedException. Make sure that we don't raise this exception 
> for mandatory methods--unless we clearly understand why we have chosen to 
> deviate from the JDBC spec.

-- 
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

Reply via email to