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
Copy file name to clipboardExpand all lines: src/docs/asciidoc/release_notes.adoc
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,9 @@ As part of this fix, there was an incompatible change in the internal GDS-ng API
46
46
Various methods and constructors involved in blob handle creation now throw a `SQLException` if the database is not attached or the transaction is null or not active.
47
47
See also <<breaking-changes-internal-api-6-0-1>>.
48
48
* Fixed: Fetch response with status=0 (FETCH_OK) and count=0 was logged on DEBUG as an unexpected response (https://github.com/FirebirdSQL/jaybird/issues/848[#848])
49
+
* Improvement: backported fetching all known blob info items on open from Jaybird 7 (https://github.com/FirebirdSQL/jaybird/issues/852[#852])
50
+
+
51
+
See also <<blob-performance-info-items>>.
49
52
50
53
=== Jaybird 6.0.0
51
54
@@ -797,6 +800,23 @@ This optimization is available for Firebird 2.1 and higher, but formally only su
797
800
798
801
For native connections, a similar optimization -- but only for reading blobs -- is available when using a Firebird 5.0.2 or higher fbclient, independent of the Jaybird version.
799
802
803
+
[#blob-performance-info-items]
804
+
==== Requesting known info items on open
805
+
806
+
Added in: Jaybird 6.0.1, backported from Jaybird 7
807
+
808
+
In the pure Java implementation, when an input blob is opened, all known blob information items are requested.
809
+
Subsequent blob information requests on the same `FbBlob` handle are fulfilled using the cached information.
810
+
If the request contains information items not in the cache, the request is sent to the server.
811
+
812
+
For access through JDBC, this optimization has little to no effect, as one of the few times Jaybird itself requests blob information is immediately after opening the blob, which is optimized by the <<blob-performance-defer-open,deferred blob open>>.
813
+
Direct use of `FirebirdBlob.BlobInputStream.length()` or the GDS-ng internal API may benefit from this change.
814
+
We're also investigating further changes to the implementation of Jaybird that could benefit from this.
815
+
816
+
This optimization is available for Firebird 2.1 and higher, but formally only supported for Firebird 3.0 and higher.
817
+
818
+
For native connections, a similar optimization is available when using a Firebird 5.0.2 or higher fbclient, independent of the Jaybird version.
0 commit comments