|
o.h.type.descriptor.sql.BlobTypeDescriptor
Originally, DEFAULT#getBlobExtractor was always using BLOB_BINDING, even if options.useStreamForLobBinding() was true. I attempted to use STREAM_BINDING for extraction if that was the case – it works for most DBs, but fails on Oracle and Mssql.
BlobLocatorTest creates a blob of a known size, persists it, then extracts it and compares the size. 10000 is created and expected, but 7800 is extracted instead.
For now, I reverted back to always using BLOB_BINDING. Investigate.
|