Bug 47649

Critical

GemConnect

2.3

All Platforms

2.4

Reading large CLOBS using #readAll can fail with "insufficient room in target buffer"

When reading a large GsOracleCLOB object with a size greater than 65532 bytes using #readAll method, the read will fail with the error:

a GsRdbError occurred (error 25), reason:typeConversionError, Cannot convert GS Object or Oracle column data, connection: aGsOracleConnection stream: nil details: #(nil #'GsLobOp/ReadAll' 3 nil 'Insufficient room in target buffer for conversion on CHR8/STR conversion')

Workaround

Use GsOracleCLOB>>readAll: String


Last updated: 7/19/18