Andy Gumbrecht commented on Bug HHH-8296

After modifying derby source to divulge the source of the null I have found that a LOB field (in this case 'data') is being set to object 'null'. Here is a snippet:

Element 1: begin parameter #1: null :end parameter ....
update lob set data=? ....
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeBatchElement(Unknown Source)

Prior to 4.2.1.Final this was an empty byte[0], which is what I am actually setting in code. Somewhere along the line the empty byte array is now being set as null.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira