You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"wrapAsLob" was added in #7007 to DefaultLobHandler to make it work with Postgresql BLOBs.
But this setting is only used for setBlobAsBytes/setBlobAsBinaryStream. So saving a byte[] field in a Postgresql BLOB works well.
But retrieving data doesn't work, it returns the "oid" number as a byte[].
Methods getBlobAsBytes and getBlobAsBinaryStream of DefaultLobHandler should use getBlob if wrapAsLob is set to true.
Affects: 2.5.6
The text was updated successfully, but these errors were encountered:
Antoni Reus opened SPR-5376 and commented
"wrapAsLob" was added in #7007 to DefaultLobHandler to make it work with Postgresql BLOBs.
But this setting is only used for setBlobAsBytes/setBlobAsBinaryStream. So saving a byte[] field in a Postgresql BLOB works well.
But retrieving data doesn't work, it returns the "oid" number as a byte[].
Methods getBlobAsBytes and getBlobAsBinaryStream of DefaultLobHandler should use getBlob if wrapAsLob is set to true.
Affects: 2.5.6
The text was updated successfully, but these errors were encountered: