Anurag Shekhar
added a comment - 31/Jul/06 15:18 I am working on set methods for Blob and clob ( DERBY-1341 ). This won't directly effect create methods but with without set methods createBlob and createClob are of not much use.

Kristian Waagan
added a comment - 31/Jul/06 11:20 The comment by Rick from 18th of May says "Looks like a solid first increment of support needed for this feature.".
Is there more work to be done for this issue, or is it complete?
If all the work has been completed, please close this issue.

The set methods in the LOB (JDBC3 methods) are not implemented on the Embedded side.
So the tests basically ensure that the length of the newly created objects in zero
(i.e.) ensure that they are empty initially.

ConnectionTest.java was failing because createQueryObject in
BrokeredConnection40 needed to be forwarded to EmbedConnection40 (i.e.) the
underlying connection that it wraps. I have fixed that up as part of this patch.

V.Narayanan
added a comment - 17/May/06 22:11 Implementing createClob() and createBlob() Methods on the Embedded Server
To implement these methods two new constructors have been introduced in
EmbedClob and EmbedBlob having the following signatures
EmbedClob(String clobString,EmbedConnection con)
EmbedBlob(byte [] blobBytes,EmbedConnection con)
The set methods in the LOB (JDBC3 methods) are not implemented on the Embedded side.
So the tests basically ensure that the length of the newly created objects in zero
(i.e.) ensure that they are empty initially.
ConnectionTest.java was failing because createQueryObject in
BrokeredConnection40 needed to be forwarded to EmbedConnection40 (i.e.) the
underlying connection that it wraps. I have fixed that up as part of this patch.
thanx
Narayanan

Kristian Waagan
added a comment - 03/May/06 15:55 create [BC] lob is missing in LogicalConnection on the client side as well. Should be easy to implement there, as the methods already exist in NetConnection.
As a friendly request, ConnectionTest should be cleaned up regarding testing the create [BC] lob methods. Currently it only tests that these are not implemented on the embedded side.