All pages
Powered by GitBook
1 of 8

Connector/J 1.4 Release Notes

Release Notes for the MariaDB Connector/J 1.4 series

Connector/J 1.4.6 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 15 Jun 2016

MariaDB Connector/J 1.4.6 is a Stable (GA) release.

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notable Changes

This version is a bugfix release.

Corrections

  • [CONJ-293] Permit named pipe connection without host in connection string

  • [CONJ-309] Possible NPE on aurora when failover occur during connection initialisation

  • [CONJ-312] NPE while loading a null from TIMESTAMP field using binary protocol

  • [misc] batch with one parameter correction (using rewriteBatchedStatements option)

Changelog

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Connector/J 1.4.5 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 24 May 2016

MariaDB Connector/J 1.4.5 is a Stable (GA) release.

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notable Changes

This version is a bugfix release.

Corrections

  • [CONJ-297] Useless memory consumption when using Statement.setQueryTimeout

  • [CONJ-294] PrepareStatement failover handling : use master connection to a minimum

  • [CONJ-290] Timestamps format error when using prepareStatement with options useFractionalSeconds and useServerPrepStmts

  • [CONJ-218] MariaDbDatabaseMetaData getTables() follow the jdbc recommendation TABLE_TYPE "TABLE" replacing "BASE_TABLE"

Changelog

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Connector/J 1.4.4 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 6 May 2016

MariaDB Connector/J 1.4.4 is a Stable (GA) release.

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notable Changes

This version is a bugfix release.

Corrections

  • [CONJ-289] PrepareStatement on master reconnection after a failover

  • [CONJ-288] using SHOW VARIABLES to replace SELECT on connection to permit connection on a galera non primary node

Changelog

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Connector/J 1.4.3 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 26 Apr 2016

MariaDB Connector/J 1.4.3 is a Stable (GA) release.

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notable Changes

This version is a bugfix release.

  • [CONJ-284] Cannot read autoincremented IDs bigger than Short.MAX_VALUE

  • [CONJ-283] Parsing correction on MariaDbClientPreparedStatement - syntax error on insert values

  • [CONJ-282] Handling YEARs with binary prepareStatement

  • [CONJ-281] Connector/J is incompatible with Google App Engine correction

  • [CONJ-278] Improve prepared statement on failover

Changelog

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Connector/J 1.4.2 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 11 Apr 2016

An issue was reported as a "Blocker" in this version. Please use the corrected version 1.4.3. Issue resolution in MariaDB is visible through the corresponding ticket in MariaDB’s tracking system (JIRA): CONJ-284

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notable Changes

This version is a bugfix release.

  • CONJ-275 Streaming result without result throws "Current position is before the first row" error

Changelog

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Connector/J 1.4.1 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 11 Apr 2016

An issue was reported as a "Blocker" in this version. Please use the corrected version 1.4.3. Issue resolution in MariaDB is visible through the corresponding ticket in MariaDB’s tracking system (JIRA): CONJ-284

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notable Changes

This version is a bugfix release.

  • CONJ-274 correction to permit connections to MySQL 5.1 server

  • CONJ-273 correction when using prepareStatement without parameters and option rewriteBatchedStatements to true

  • CONJ-270 permit 65535 parameters to server preparedStatement

  • CONJ-268 update license header

  • when the option rewriteBatchedStatements is set to true, correction of packet separation when query size > max_allow_packet

  • performance improvement for select result

Changelog

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Connector/J 1.4.0 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 1 Apr 2016

An issue was reported as a "Blocker" in this version. Please use the corrected version 1.4.3. Issue resolution in MariaDB is visible through the corresponding ticket in MariaDB’s tracking system (JIRA): CONJ-284

For a description of MariaDB Connector/J see theAbout MariaDB Connector/J page

For a list of all changes made in this release, with links to detailed information on each push, see thechangelog.

This version is a bugfix / performance improvement release.

Notable changes and additions

Complete implementation of fetch size

CONJ-26 JDBC allows specifying the number of rows fetched for a query, and this number is referred to as the fetch size. Before version 1.4.0, queries were loading all results or row by row using Statement.setFetchSize(Integer.MIN_VALUE). Now it's possible to set the fetch size according to your needs. Loading all results for large result sets uses a lot of memory. This functionality permits saving memory without a performance decrease.

Memory footprint improvement

CONJ-125 - Buffers have been optimized to reduced memory footprint

CallableStatement performance improvement

CONJ-209 - Calling function / procedure performance is now optimized according to the query. Depending on the queries, the difference can be up to 300%.

Authentication evolution

CONJ-251 Permit new authentication possibilities : PAM authentication, and GSSAPI/SSPI authentication.

The GSSAPI/SSPI authentication plugin for MariaDB permits passwordless login.

On Unix systems, GSSAPI is usually synonymous with Kerberos authentication. Windows has a slightly different but very similar API called SSPI that, along with Kerberos, also supports NTLM authentication.

See more details at: GSSAPI/SSPI configuration

Connection attributes

CONJ-217 - Driver information is now sent to connection attributes tables (performance_schema must be activated). A new option "connectionAttributes" permits adding client-specific data.

For example when connecting with the following connection string "jdbc:mysql://localhost:3306/testj?user=root&connectionAttributes=myOption:1,mySecondOption:'jj'", if performance_schema is activated, information about this connection will be available during the time this connection is active :

SELECT * FROM performance_schema.session_connect_attrs WHERE processList_id = 5
+----------------+-----------------+---------------------+------------------+
| PROCESSLIST_ID | ATTR_NAME       | ATTR_VALUE          | ORDINAL_POSITION |
+----------------+-----------------+---------------------+------------------+
|5               |_client_name     |MariaDB connector/J  |0                 |
|5               |_client_version  |1.4.0-SNAPSHOT       |1                 |
|5               |_os              |Windows 8.1          |2                 | 
|5               |_pid             |14124@portable-diego |3                 |
|5               |_thread          |5                    |4                 |
|5               |_java_vendor     |Oracle Corporation   |5                 |
|5               |_java_version    |1.7.0_79             |6                 |
|5               |myOption         |1                    |7                 |
|5               |mySecondOption   |'jj'                 |8                 |
+----------------+-----------------+---------------------+------------------+

Minor evolution

  • CONJ-210 : adding a "jdbcCompliantTruncation" option to force truncation warning as an SQLException.

  • CONJ-211 : when in master/slave configuration, option "assureReadOnly" will ensure that slaves are in read-only mode ( forcing transaction by a query "SET SESSION TRANSACTION READ ONLY").

  • CONJ-213 : new option "continueBatchOnError". Permit to continue batch when an exception occur : When executing a batch and an error occur, must the batch stop immediatly (default) or finish remaining batch before throwing exception.

Bugfix

  • CONJ-236 : Using a parametrized query with a smallint -1 does return the unsigned value

  • CONJ-250 : Tomcat doesn't stop when using Aurora failover configuration

  • CONJ-269 : handle server configuration autocommit=0

  • CONJ-271 : ResultSet.first() may throw SQLDataException: Current position is before the first row

This page is: Copyright © 2025 MariaDB. All rights reserved.