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 version specific details, consult the release notes
535
535
@@ -912,6 +912,7 @@ Actively supported Jaybird versions -- Jaybird 5 and Jaybird 6 -- support the fo
912
912
- https://jcp.org/aboutJava/communityprocess/mrel/jsr221/index2.html[JDBC 4.2^] (Java 8) -- Jaybird 5 onlyfootnote:[Jaybird 6 doesn't support JDBC 4.2 as it doesn't support Java 8, but everything defined in JDBC 4.2 is also defined in JDBC 4.3.]
- https://jcp.org/aboutJava/communityprocess/mrel/jsr221/index4.html[JDBC 4.4^] (Java 24 - Java 25) -- see caveats in <<jdbc44-support>>
915
+
- https://jcp.org/aboutJava/communityprocess/maintenance/jsr221/index5.html[JDBC 4.5^] (link to draft) (Java 26 and higher) -- see also <<jdbc45-support>>
915
916
916
917
[#jdbc44-support]
917
918
== Is JDBC 4.4 supported?
@@ -935,32 +936,23 @@ This is fixed in Jaybird 6.0.3 and higher (see https://github.com/FirebirdSQL/ja
935
936
[#jdbc45-support]
936
937
== Is JDBC 4.5 supported?
937
938
938
-
Not yet -- for Jaybird 5.0.11 and older, and Jaybird 6.0.4 and older. +
939
-
No -- for Jaybird 4 and older.
939
+
Yes, https://jcp.org/aboutJava/communityprocess/maintenance/jsr221/index5.html[JDBC 4.5^] (link to draft) is supported by Jaybird 5.0.12 and higher and Jaybird 6.0.5 and higher.
940
+
No -- for Jaybird 4 and older, and Jaybird 5.0.11 and older and Jaybird 6.0.4 and older.
940
941
941
-
Java 26 (expected in March 2026) will introduce https://jcp.org/aboutJava/communityprocess/maintenance/jsr221/index5.html[JDBC 4.5^] (link to draft).
942
-
Jaybird is not yet compatible with some of the specified changes.
942
+
JDBC 4.5 was introduced with Java 26.
943
943
944
-
Specifically affected are:
944
+
Notable changes -- for Jaybird and Firebird -- are:
945
945
946
946
* Introduction of `java.sql.JDBCType.DECFLOAT` and `java.sql.Types.DECFLOAT` (value `2015`).
947
-
+
948
-
At this time, Jaybird still uses its own constants in `JaybirdType.DECFLOAT` and `JaybirdTypeCodes.DECFLOAT` with value `-6001`.
949
-
This value will be changed to match the JDBC specified value, and the constants deprecated, in a future maintenance release of Jaybird.
950
947
* Introduction of new methods on `java.sql.Connection` -- `enquoteIdentifier`, `enquoteLiteral`, `enquoteNCharLiteral`, and `isSimpleIdentifier`
951
-
+
952
-
The default implementation provided is not sufficient for Firebird, especially not when connecting to a dialect 1 database.
953
-
For the time being, we recommend using the equivalent JDBC 4.3 methods (with the same name) on a `java.sql.Statement` instance of the connection.
954
948
* The JDBC escape to selectively disable escape processing ([.nowrap]`++{\ ... \}++`) is not yet implemented.
955
949
956
-
We plan to address these issues in Jaybird 5 and Jaybird 6 maintenance releases _after_ the release of Java 26 (tracked by https://github.com/FirebirdSQL/jaybird/issues/907[#907]).
957
-
958
950
[#how-much-of-jdbc-is-supported-by-jaybird]
959
951
== How much of JDBC is supported by Jaybird?
960
952
961
953
*WARNING* The information in this section is not 100% up-to-date
962
954
963
-
Jaybird 6 follows the https://jcp.org/aboutJava/communityprocess/mrel/jsr221/index3.html[JDBC 4.3 Specification^] and https://jcp.org/aboutJava/communityprocess/mrel/jsr221/index4.html[JDBC 4.4 Specification^]footnote:[JDBC 4.4 was only a Java/javadoc change, and has no published Specification document, refer to JDBC 4.3 for that] with some features and methods not implemented as they are not supported by Firebird.
955
+
Jaybird 6 follows the https://jcp.org/aboutJava/communityprocess/mrel/jsr221/index3.html[JDBC 4.3 Specification^], https://jcp.org/aboutJava/communityprocess/mrel/jsr221/index4.html[JDBC 4.4 Specification^]footnote:[JDBC 4.4 was only a Java/javadoc change, and has no published Specification document, refer to JDBC 4.3 for that], and https://jcp.org/aboutJava/communityprocess/maintenance/jsr221/index5.html[JDBC 4.5 Specification^]footnote:[The full specification document has not been published yet] with some features and methods not implemented as they are not supported by Firebird.
964
956
965
957
Implemented features:
966
958
@@ -970,7 +962,6 @@ Implemented features:
970
962
* `DataSource` implementation `org.firebirdsql.ds.FBSimpleDataSource` (no pooling).
971
963
* `ConnectionPoolDataSource` implementation `org.firebirdsql.ds.FBConnectionPoolDataSource` (please be aware, contrary to suggested by the naming, this does not provide connection pooling, this is intended as a factory of connections for use by a connection pool, e.g. as provided by a Java EE/Jakarta EE application server)
972
964
* Complete access to all Firebird database parameter block and transaction parameter block settings.
973
-
* JMX mbean for database management (so far just database create and drop).
== What parts of JDBC are NOT supported by Jaybird?
@@ -1016,7 +1007,6 @@ The following methods are implemented, but do not work as expected:
1016
1007
1017
1008
* `java.sql.Statement`
1018
1009
** `get/setMaxFieldSize` does nothing (support will be introduced in Jaybird 7)
1019
-
** `get/setQueryTimeout` supported since Jaybird 4 with Firebird 4.0 and higher
1020
1010
* `java.sql.PreparedStatement`
1021
1011
** `setObject(index,object,type)` This method is implemented but behaves as `setObject(index,object)`
1022
1012
** `setObject(index,object,type,scaleOrLength)` This method is implemented but behaves as `setObject(index,object)`, except if `object` is a `Reader` or `InputStream`, then it is directed to the `setBinaryStream` or `setCharacterStream` method accepting a length.
0 commit comments