[ http://issues.apache.org/jira/browse/DERBY-1292?page=comments#action_12431049 ] Øystein Grøvlen commented on DERBY-1292: ----------------------------------------
I have reviewed the new version of the patch and the code looks fine (except for the minor issue of lines longer than 80 characters). I have checked that it is fixes the bug, and also that it fixes the problem in the reproduction case for the duplicate bug report, DERBY-1321. derbyall also ran without errors for this patch. I recommend that a committer commits this patch. If you wnat this patch to be included in the upcoming 10.2 version, you will need to lobby the release manager in order to get it ported to the 10.2 branch. > ClassCastException in ClientDriver when using CLOB columns and batch updates > ---------------------------------------------------------------------------- > > Key: DERBY-1292 > URL: http://issues.apache.org/jira/browse/DERBY-1292 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.1.2.1 > Reporter: Gerald Khin > Assigned To: James F. Adams > Attachments: DERBY-1292-v2.diff, DERBY-1292.diff > > > java.lang.ClassCastException: java.lang.String > at > org.apache.derby.client.net.NetStatementRequest.computeProtocolTypesAndLengths(Unknown > Source) > at > org.apache.derby.client.net.NetStatementRequest.buildSQLDTAcommandData(Unknown > Source) > at org.apache.derby.client.net.NetStatementRequest.writeExecute(Unknown > Source) > at > org.apache.derby.client.net.NetPreparedStatement.writeExecute_(Unknown Source) > at org.apache.derby.client.am.PreparedStatement.writeExecute(Unknown > Source) > at > org.apache.derby.client.am.PreparedStatement.executeBatchRequestX(Unknown > Source) > at org.apache.derby.client.am.PreparedStatement.executeBatchX(Unknown > Source) > at org.apache.derby.client.am.PreparedStatement.executeBatch(Unknown > Source) > at CCEBatchUpdateRepro.doInserts(CCEBatchUpdateRepro.java:71) > at CCEBatchUpdateRepro.main(CCEBatchUpdateRepro.java:27) -- 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
