[ http://issues.apache.org/jira/browse/DERBY-1610?page=all ]
Knut Anders Hatlen updated DERBY-1610: -------------------------------------- Attachment: derby-1610-jdk16.diff Attaching a patch which fixes the failures in the jdbc40 suite (see http://www.multinet.no/~solberg/public/Apache/Daily/jvm1.6/testlog/solN+1/454410-derbyall_diff.txt). Description of the patch (derby-1610-jdk16.diff): * Check for unsupported types before checking incompatibilities since JDBC 4.0 specifies that SQLFeatureNotSupportedException should be raised for certain types if they are unsupported. * Change timing of calls to checkForClosedStatement() to make ClosedObjectTest get the expected SQLState when the statement is closed. * Add type checking to the JDBC 4.0 length-less blob/clob overloads. * Since the type checking already checks for closed statement and invalid parameter index, remove those tests from checkSetterPreconditions(). Since the only code that is left in checkSetterPreconditions() after the removal of those checks is a call to checkForEscapedCallWithResult(), replace all calls to checkSetterPreconditions() with calls to checkForEscapedCallWithResult(). I have run derbynetclientmats with no failures. The jdbc40 suite also runs cleanly (196 failures without the patch). > Resolve difference of type compatibility between Embedded and > NetworkServer/NetworkDriver > ----------------------------------------------------------------------------------------- > > Key: DERBY-1610 > URL: http://issues.apache.org/jira/browse/DERBY-1610 > Project: Derby > Issue Type: Bug > Components: Network Server, Network Client > Reporter: Tomohito Nakayama > Assigned To: Tomohito Nakayama > Attachments: derby-1610-jdk16.diff, DERBY-1610.diff, > DERBY-1610_2.diff, DERBY-1610_3.diff, DERBY-1610_4.diff, DERBY-1610_5.diff, > DERBY-1610_6.patch, DERBY-1610_7.patch, DERBY-1610_7_regressionfix.patch, > DERBY-1610_7_regressionfix_2.patch, DERBY-1610_7_regressionfix_2_2.patch, > DERBY-1610_7_regressionfix_2_3.patch, parameterMapping.diff, > parameterMapping.diff, > parameterMapping.diff.betweenEmbedded_and_NetworkServerNetworkClient, > parameterMapping.out.7.diff, parameterMapping.out.diff, > parameterMapping_3.diff, TestNullChar.java, TestTypeCompatibility.java, > XCL12.diff > > > There exists difference of type compatibility between Embedded and > NetworkServer/NetworkClient. > This issue tries to resolve it. -- 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