-
Notifications
You must be signed in to change notification settings - Fork 465
LOBs are fully materialised #16
Copy link
Copy link
Closed
Labels
EnhancementAn enhancement to the driver. Lower priority than bugs.An enhancement to the driver. Lower priority than bugs.
Milestone
Description
BLOBs, CLOBs and NCLOBs are fully materialised into a single byte[]/String. In the case of large content (imagine a file stored in a BLOB) this puts quite a lot of pressure on both the allocator and the heap. It also defeats the point of streaming. Consider the following use case:
try (InputStream stream = resultSet.getBlob("column_name").getBinaryStream()) {
// stream content
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementAn enhancement to the driver. Lower priority than bugs.An enhancement to the driver. Lower priority than bugs.