Alberto

Creation of drill-down table fails on long field

Using EA4 I got this exception:

21.10.2009 12:17:04 [WARNING] [in] Unable to create drill-through table

org.apache.derby.client.am.BatchUpdateException: Non-atomic batch failure. The batch was submitted, but at least one exception occurred on an individual member of the batch. Use getNextException() to retrieve the exceptions for specific batched elements.
at org.apache.derby.client.am.Agent.endBatchedReadChain(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 cz.adastra.cif.model.internal.modelimpl.ConnectionPool$_E.executeBatch(ConnectionPool.java:702)
at cz.adastra.cif.tasks.profiling.C.I.A(RollUpWrap.java:454)
at cz.adastra.cif.tasks.profiling.ProfilingAlgorithmInstance$_B.B(ProfilingAlgorithmInstance.java:358)
at cz.adastra.cif.tasks.profiling.ProfilingAlgorithmInstance$_B.access$400(ProfilingAlgorithmInstance.java:282)
at cz.adastra.cif.tasks.profiling.ProfilingAlgorithmInstance.run(ProfilingAlgorithmInstance.java:213)
at cz.adastra.cif.processor.internal.runner.B.E(ComplexStepNode.java:62)
at cz.adastra.cif.processor.internal.runner.F.run(Node.java:115)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.derby.client.am.SqlException: Error for batch element #9674: A truncation error was encountered trying to shrink VARCHAR 'proof of purchase:\u000d\u000a******************************&' to length 4000.
at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
... 11 more

As a consequence, it later complained that the connection couldn't be closed.

The SQLServer field is defined as varchar(max), and DQA shows it as type 'text' of length 2147483647,
1 person has
this problem
+1
Reply