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
For older Java versions (Java and higher), use <<jaybird-5>>.
47
+
45
48
Jaybird 6 is available on Maven Central:
46
49
47
50
[horizontal.compact]
@@ -91,6 +94,8 @@ To enable the "`ChaCha64`" wire encryption support for pure Java connections, yo
91
94
[#jaybird-5]
92
95
==== Jaybird 5
93
96
97
+
Unless you need to use Java 8 or Java 11, we recommend upgrading to <<jaybird-6>>.
98
+
94
99
Jaybird 5 is available on Maven Central:
95
100
96
101
[horizontal.compact]
@@ -127,7 +132,7 @@ If you want to use Type 2 support (native or embedded), you need to explicitly i
127
132
==== Jaybird 4
128
133
129
134
Jaybird 4 is end-of-life and will receive no further updates.
130
-
We recommend upgrading to <<jaybird-5>>.
135
+
We recommend upgrading to <<jaybird-6>>.
131
136
132
137
////
133
138
// Stop showing Jaybird 4 Maven info, but keep available for now
@@ -195,7 +200,7 @@ If you want to use Type 2 support (native, local or embedded), you need to expli
195
200
+++<a name="jaybird-3.0">++++++</a>+++
196
201
197
202
Jaybird 3 is end-of-life and will receive no further updates.
198
-
We recommend upgrading to <<jaybird-5>>.
203
+
We recommend upgrading to <<jaybird-6>>.
199
204
200
205
////
201
206
// Stop showing Jaybird 3 Maven info, but keep available for now
@@ -260,7 +265,7 @@ If you want to use Type 2 support (native, local or embedded), you need to expl
260
265
==== Jaybird 2.2
261
266
262
267
Jaybird 2.2 is end-of-life and will receive no further updates.
263
-
We recommend upgrading to <<jaybird-5>>.
268
+
We recommend upgrading to <<jaybird-6>>.
264
269
265
270
////
266
271
// Stop showing Jaybird 2.2 Maven info, but keep available for now
@@ -293,15 +298,15 @@ When deploying to a JavaEE environment, exclude the `javax.resource connector-ap
293
298
294
299
Jaybird can be downloaded from the Firebird website, under Downloads, https://firebirdsql.org/en/jdbc-driver/[JDBC Driver].
295
300
296
-
Alternatively, you can go directly to GitHub and download Jaybird from the https://github.com/FirebirdSQL/jaybird/releases[jaybird releases].
301
+
Alternatively, you can go directly to GitHub and download Jaybird from the https://github.com/FirebirdSQL/jaybird/releases[Jaybird releases].
297
302
298
303
[#where-can-i-get-the-sourcecode]
299
304
== Where can I get the sourcecode?
300
305
301
306
All Jaybird distribution zips contain a `jaybird-<version>-sources.zip` with the sources used for that specific version.
302
307
The Maven Central repository also has the `jaybird-<version>-sources.zip`, and your IDE will generally offer to download it for you if you navigate to any Jaybird class.
303
308
304
-
The full Jaybird sources are available from GitHub in the jaybird repository, {jaybird-repo}.
309
+
The full Jaybird sources are available from GitHub in the Jaybird repository, {jaybird-repo}.
305
310
Each release is tagged in the repository.
306
311
307
312
[#how-is-jaybird-licensed]
@@ -345,7 +350,7 @@ Jaybird 5 is the last version to support Java 8 and Java 11, support has been dr
345
350
346
351
[NOTE]
347
352
====
348
-
Jaybird 5 will serve as a form of long-term supportfor Java 8 and Java 11, with maintenance releases guaranteed at least until the release of Jaybird 7.
353
+
Jaybird 5 serves as a "`long-term support`" version for Java 8 and Java 11, with maintenance releases at least until the release of Jaybird 7.
349
354
350
355
See also https://github.com/FirebirdSQL/jaybird/blob/master/devdoc/jdp/jdp-2022-03-java-17-minimum-version.md[jdp-2022-03: Java 17 minimum version].
Support for Java 9 and higher is limited to Java 11, Java 17 and Java 21.
359
364
360
365
Jaybird 4 is the last version to support Java 7, support was dropped with Jaybird 5.
361
-
Jaybird 4.0.10 is the last release of Jaybird 4, and is end-of-life.
362
-
We recommend upgrading to Jaybird 5.
366
+
Jaybird 4.0.10 is the last release of Jaybird 4.
367
+
368
+
Jaybird 4 is end-of-life.
369
+
We recommend upgrading to Jaybird 6.
363
370
364
371
[#java-jaybird-3-0]
365
372
[discrete]
366
373
=== Jaybird 3
367
374
368
375
Jaybird 3 supports Java 7 and Java 8 and has basic support for Java 9 and higher using the Java 8 version of the driver.
369
376
Support for Java 9 and higher is limited to Java 11 and 17, but in practice Jaybird should work on all Java 9+ versions upto Java 17footnote:[versions after Java 17 have not been tested].
370
-
Jaybird 3.0.12 is the last release of Jaybird 3, and is end-of-life.
371
-
We recommend upgrading to Jaybird 5.
377
+
Jaybird 3.0.12 is the last release of Jaybird 3.
378
+
379
+
Jaybird 3 is end-of-life.
380
+
We recommend upgrading to Jaybird 6.
372
381
373
382
[#java-jaybird-2-2]
374
383
[discrete]
375
384
=== Jaybird 2.2
376
385
377
386
Jaybird 2.2 supports Java 6, Java 7 and Java 8.
378
-
Jaybird 2.2.15 is that last release of Jaybird 2.2, and is end-of-life.
379
-
We recommend upgrading to Jaybird 5.
387
+
Jaybird 2.2.15 is the last release of Jaybird 2.2.
388
+
389
+
Jaybird 2.2 is end-of-life.
390
+
We recommend upgrading to Jaybird 6.
380
391
381
392
Jaybird 2.2.4 added basic support for Java 8 (JDBC 4.2), although not all JDBC 4.2 features are supported or fully implemented.
382
393
@@ -411,6 +422,15 @@ To ensure a stable module name, Jaybird 5 and older, since versions 2.2.14 and 3
411
422
412
423
Jaybird 6 supports Firebird 3.0, Firebird 4.0, and Firebird 5.0.
413
424
425
+
.No promises on Firebird 6.0 support
426
+
[WARNING#firebird-jaybird-6-fb6]
427
+
====
428
+
Firebird 6.0 is still in development, and includes changes -- like schema support -- that impact Jaybird.
429
+
430
+
As a result -- at this time -- we make no promises on the support for Firebird 6.0 by Jaybird 6.
431
+
We may delay support for Firebird 6.0 until Jaybird 7, or we may improve support during maintenance releases of Jaybird 6.
432
+
====
433
+
414
434
By default, Jaybird 6 -- using the pure Java protocol -- will not connect to Firebird 2.5 and older.
415
435
See <<connection-rejected-by-remote-interface-335544421>> for a workaround.
416
436
@@ -420,6 +440,15 @@ See <<connection-rejected-by-remote-interface-335544421>> for a workaround.
@@ -520,7 +549,7 @@ You can report bugs in the Jaybird bug tracker, {issues}.
520
549
When reporting bugs, please provide a minimal, but complete reproduction, including databases and sourcecode to reproduce the problem.
521
550
Patches to fix bugs are also appreciated.
522
551
Make sure the patch is against a recent master version of the code.
523
-
You can also fork the {jaybird-repo}[jaybird repository] and create pull requests.
552
+
You can also fork the {jaybird-repo}[Jaybird repository] and create pull requests.
524
553
525
554
[#connecting-to-firebird]
526
555
= Connecting to Firebird
@@ -575,7 +604,7 @@ Jaybird 4 and higher also support:
575
604
576
605
[NOTE]
577
606
====
578
-
This URL format is deprecated with jaybird 5 and was removed in Jaybird 6.
607
+
This URL format is deprecated with Jaybird 5 and was removed in Jaybird 6.
579
608
As a replacement, use the "`Firebird External`" option in LibreOffice Base.
580
609
581
610
See also https://github.com/FirebirdSQL/jaybird/blob/master/devdoc/jdp/jdp-2022-04-deprecate-ooremote.md[jdp-2022-04: Deprecate OOREMOTE (OpenOffice/LibreOffice driver) for removal].
@@ -729,7 +758,7 @@ It requires support on both client and server side.
729
758
730
759
Java support for "TCP Loopback Fast Path" was introduced in Java 8 update 60, it can be enabled by specifying the system property `jdk.net.useFastTcpLoopback` with value `true` (e.g. specify `-Djdk.net.useFastTcpLoopback=true` in your Java commandline).
731
760
732
-
Unfortunately, Java only has an 'all-or-nothing' support for the "`TCP Loopback Fast Path`", so Jaybird cannot enable this for you: you must specify this property on JVM startup.
761
+
Unfortunately, Java only has an 'all-or-nothing' support for the "`TCP Loopback Fast Path`", so Jaybird cannot enable this for you: you must specify this property on JVM startup.
733
762
On the other hand, this has the benefit that this works for all Jaybird versions, as long as you use Java 8 update 60 or higher (and Firebird 3.0.2 or higher, but before 5.0.0).
Earlier versions had a `DataSource` implementation with connection pooling, but this implementation had severe bugs.
939
968
This implementation (and all other classes in `org.firebirdsql.pool`) was deprecated in Jaybird 2.2 and dropped in Jaybird 3.
940
969
941
-
Jaybird provides a basic `DataSource` implementation and a `ConnectionPoolDataSource` implementation.
970
+
Jaybird provides a basic `DataSource`, an `XADataSource`, and a `ConnectionPoolDataSource` implementation.
942
971
Contrary to its name, the latter *does not provide a connection pool*, but is intended to be used by a connection pool (as implemented in an application server) to create connections _for_ a connection pool.
943
972
944
973
If your application is built on a Java EE/Jakarta EE application server, we suggest you use the connection pooling provided by the application server using the `javax.sql.ConnectionPoolDataSource` implementation `org.firebirdsql.ds.FBConnectionPoolDataSource`, or using the `javax.sql.XADataSource` implementation `org.firebirdsql.ds.FBXADataSource`.
0 commit comments