[ http://issues.apache.org/jira/browse/DERBY-1292?page=comments#action_12378302 ]
Bryan Pendleton commented on DERBY-1292:
----------------------------------------
ColumnMetaData does not seem to support a "clone" operation, unfortunately.
So I think I'll need to write one first. And that seems like more than just a
couple lines of code, because the ColumnMetaData class is full of lots of
arrays and collections and so forth. Is there a simpler way?
> ClassCastException in ClientDriver when using CLOB columns and batch updates
> ----------------------------------------------------------------------------
>
> Key: DERBY-1292
> URL: http://issues.apache.org/jira/browse/DERBY-1292
> Project: Derby
> Type: Bug
> Versions: 10.1.2.1
> Reporter: Gerald Khin
> Assignee: Bryan Pendleton
>
> 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
|