Release date: 18 Feb 2014
MariaDB Java Client 1.1.6 is a Stable (GA) release. In general this means that there are no known serious bugs, except for those marked as feature requests, that no bugs were fixed since last release that caused notable code changes, and that we believe the code is ready for general usage (based on bug inflow).
For a description of the MariaDB Java Client see the About the MariaDB Java Client page.
For a list of all changes made in this release, with links to detailed information on each push, see the changelog.
New connection parameter serverTimezone: If set, timezone conversions will occur when storing temporal data with preparedStatement (setDate(), setTime(), setTimestamp()) and when reading data using ResultSet (getDate(),getTime(),getTimestamp()) The effect is similar to setting the time_zone session variable. The difference is better cross-platform compatibility (i.e timezone names like "Asia/Omsk" can also be used when the server is on Windows). Also, this option works for both datetime and timestamp datatypes, while the server-side option has no effect on datetime. (CONJ-65)
Bugs fixed in this release
Some of the bugs fixed include:
- Index parts that are not not parts of primary keys may be returned by
- Fixed UTF8 length calculation (CONJ-73)
- Prevent batch execution if the batchlist for statements and prepared statements is null. (CONJ-74)
- MySQLDatabaseMetaData fix:
GetColumnsnow returns type.BIT instead of type.TINYINT if tinyInt1IsBit option is set (CONJ-72)
- Autoselect database for SSL connections (CONJ-71)
- Throw exception for unsupported JDBC 4.1 functions (CONJ-67)
- All timeout parameters will be specified in mircoseconds (instead of seconds). (CONJ-78)
- Fixed a leak in callable statements (Thanks to Andrew Gaul)