Add delayLoadingLobs#1336
Conversation
# Conflicts: # src/main/java/com/microsoft/sqlserver/jdbc/ISQLServerDataSource.java # src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java # src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDriver.java
|
(I'm adding this comment as a user that follows the project, but does not actively participate - if this is not the right place for this comment, please let me know) It would be good to document the intent of this API. Why would I, as a user of the driver, want to set the loadLargeObjects property? What are the benefits, and what are the downsides? Interacting with large volumes of large BLOBs is a tricky area in my experience, so a clear description of what this API intends to facilitate would be a good idea, methinks. I do agree with the comments from @peterbae regarding the naming, FWIW. |
ulvii
left a comment
There was a problem hiding this comment.
There are conflicts in the PR.
# Conflicts: # src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResource.java
|
Hi @TarasTielkes , |
Adds a property delayLoadingLobs which will cause all LOB objects retrieved from the ResultSet to not be streamed.
The driver does this by setting a boolean on every LOB object when retrieved via a getter. This boolean is then used by the LOB object when users call stream getters.