Find the patch attached. I will send the tests patch in a seperate mail.
~ Shreyas
Index: java/engine/org/apache/derby/iapi/types/SQLBlob.java
===================================================================
--- java/engine/org/apache/derby/iapi/types/SQLBlob.java (revision
158017)
+++ java/engine/org/apache/derby/iapi/types/SQLBlob.java (working copy)
@@ -46,6 +46,7 @@
import java.io.IOException;
import java.sql.ResultSet;
import java.sql.SQLException;
+import java.sql.PreparedStatement;
/**
* SQLBlob satisfies the DataValueDescriptor,
@@ -186,4 +187,9 @@
return TypeId.BLOB_PRECEDENCE; // not really used
}
- }
+ public void setInto(PreparedStatement ps, int position) throws
SQLException, StandardException {
+ ps.setBlob(position,null);
+ }
+}
+
+
