Jaybird 4.0.7
What's new
The following has been changed or fixed since Jaybird 4.0.6:
- Improvement:
(VAR)CHAR
is now sent to the server withblr_varying2
orblr_text2
which includes the character set information (jaybird#692) - Changed: Usages of
String.toUpperCase
andString.toLowerCase
now useLocale.ROOT
to prevent locale-sensitivity issues (jaybird#697) - New feature: Support for NBackup "clean history" option (jaybird#706)
Theorg.firebirdsql.management.NBackupManager
interface has three new methods:setCleanHistory(boolean)
to enable (or disable) cleaning of history during backup, andsetKeepDays(int)
andsetKeepRows(int)
to specify the number of days or rows to keep history. These options require Firebird 4.0.3 or higher.
This feature was backported from Jaybird 5. - Fixed: Calling
PreparedStatement.setClob
orPreparedStatement.setBlob
with anull
Clob
,Reader
,Blob
, orInputStream
would result in aNullPointerException
(jaybird#712)
As part of this change the behaviour ofsetClob
methods accepting aReader
was changed to be identical tosetCharacterStream
, andsetBlob
accepting anInputStream
tosetBinaryStream
. The end result before and after this change is identical, but it can result in different memory and performance characteristics, as the stream is now consumed on execute, and not on set.
Bug reports about undocumented changes in behavior are appreciated. Feedback can be sent to the Firebird-java Google Group or reported on the issue tracker https://github.com/FirebirdSQL/jaybird/issues.
See also the full Jaybird 4 release notes.
Maven
The release is also available on maven(*):
<groupId>org.firebirdsql.jdbc</groupId>
<artifactId>jaybird</artifactId>
<version>4.0.7.java11</version>
* The version depends on your target Java version: 4.0.7.java7
, 4.0.7.java8
, or 4.0.7.java11
(for Java 11 and higher)