On 7.1.15 6:07 , Francesco Mari wrote:
The problem is that Blob.getReference() always return null, because the actual implementation (ArrayBasedBlob) doesn't override that method from AbstractBlob. Is this behavior expected? Am I doing something wrong or misusing the API?
The general contract says "Returns a secure reference to this blob, or null if such a reference is not available." So technically this is not a bug. The reason for returning null is probably because no one came up with the need for a more sophisticated implementation yet.
Michael
