Skip to content

Releases: mariadb-corporation/mariadb-connector-j

MariaDB Connector/Java 3.5.0

24 Oct 18:35
Compare
Choose a tag to compare

3.5.0 (Oct 2024)

Full Changelog

Notable changes

  • CONJ-1193 Parsec authentication implementation
  • CONJ-1183 permit setting specific truststore

Bugs Fixed

  • CONJ-1202 Session variable setting must be executed last
  • CONJ-1201 incorrect default behavior for forceConnectionTimeZoneToSession
  • CONJ-1200 Batch import fails with exception "Unknown command"
  • CONJ-1199 option connectionCollation addition in order to force collation
  • CONJ-1187 Use different exception type for connection timeouts

MariaDB Connector/Java 3.4.1

17 Jul 14:32
Compare
Choose a tag to compare

3.4.1 (Jul 2024)

Full Changelog

Bugs Fixed
  • CONJ-1181 Ensure Prepare cache use schema
  • CONJ-1178 DatabaseMetaData.getImportedKeys return different PK_NAME value than getExportedKeys.
  • CONJ-1180 Correct DatabaseMeta.getExportedKeys() performances
  • CONJ-1185 Android app compatibility, regex CANON_EQ flag not supported
  • CONJ-1188 database meta getSQLKeywords listing all reserved key word, not restricted keywords only
  • CONJ-1189 implementation of pinGlobalTxToPhysicalConnection for XA Connection
  • CONJ-1190 Adding MySQL option 'databaseTerm' as alias for useCatalogTerm for compatibility
  • CONJ-1191 slow metadata getImportedKeys when not having database set
  • CONJ-685 permit setting sslMode per host
  • CONJ-686 Allow mixing TCP and socket hosts in failover configuration
  • CONJ-1068 ResultSetMetaData.getColumnTypeName() returns VARCHAR instead of TINYTEXT
  • CONJ-1182 missing XA_RBTIMEOUT,XA_RBTIMEOUT and XA_RBDEADLOCK error mapping

MariaDB Connector/Java 3.3.3

20 Feb 21:31
Compare
Choose a tag to compare

3.3.3 (Feb 2024)

Full Changelog

Bugs Fixed
  • CONJ-1050 regression in 3.x.y: nonparameterized batch "INSERT INTO products( name ) VALUES ( 'aaaa' )" fails
  • CONJ-1150 Error using PrepareStatement.setURL with null url
  • CONJ-1152 Improve message when reaching socket timeout during connection initial commands

MariaDB Connector/Java 2.7.12

20 Feb 21:17
Compare
Choose a tag to compare

2.7.12 (Feb 2024)

Full Changelog

  • CONJ-1145 Wrong sequence number of sub header with compressing procotol active
  • CONJ-1151 Wrong debug trace when using compression protocol
  • CONJ-1152 Improve message when reaching socket timeout during connection initial commands
  • CONJ-1153 session tracking only read first SYSTEM_VARIABLES session tracking change

MariaDB Connector/Java 3.3.2

19 Dec 15:21
Compare
Choose a tag to compare

3.3.2 (Dec 2023)

Full Changelog

Bugs Fixed
  • CONJ-1117 new option returnMultiValuesGeneratedIds for connector 2.x compatibility, so getGeneratedKeys() return all
    ids of multi-value inserts
  • CONJ-1140 regression caussing ClassCastException on DatabaseMetaData when use with option defaultFetchSize set
  • CONJ-1129 Metadata.getPrimaryKeys table comparison using like in place of strict equality
  • CONJ-1130 ensuring batch parameter are cleared after SQL Failure
  • CONJ-1131 NullPointerException when Calling getGeneratedKeys() after an SQL Failure
  • CONJ-1132 Ensuring reseting result for getUpdateCount() after an SQL Failure
  • CONJ-1135 ensuring BULK command not used when using INSERT ON DUPLICATE KEY UPDATE in order to always have unique
    affected rows by default
  • CONJ-1136 wrong decoding for Resultset.getByte() results for binary varchar fields
  • CONJ-1137 ensuring never having NPE in OkPacket when setting auto commit
  • CONJ-1138 Inconsistency in Behavior of PreparedStatement After closeOnCompletion() Between MariaDB and MySQL
    Connectors
  • CONJ-1049 Metadata getTableTypes result was not ordered by TABLE_TYPE

MariaDB Connector/Java 3.3.1

29 Nov 18:37
Compare
Choose a tag to compare

3.3.1 (Nov 2023)

Full Changelog

Bugs Fixed
  • CONJ-1120 java 8 compatibility error in 3.3.0
  • CONJ-1123 missing OSGi javax.crypto dependency
  • CONJ-1124 ensure not having OOM when setting huge fetch size
  • CONJ-1109 Regression in clearBatch() for parameterized statements
  • CONJ-1126 setting fetchSize directly on a ResultSet object does not reflect the expected change
  • CONJ-1127 Statement.getResultSetType () failed to change the result set type
  • CONJ-1128 Setting Negative Fetch Size on ResultSet Without Throwing Error

MariaDB Connector/Java 3.3.0

08 Nov 19:16
Compare
Choose a tag to compare

3.3.0 (Nov 2023)

Full Changelog

Notable Changes
  • CONJ-1115 Make connector become more virtual-thread friendly
  • CONJ-1108 Database metadata listing TEMPORARY tables/sequences
  • CONJ-1113 update ed25519 to recent version
  • CONJ-1116 Avoid unnecessary synchronization on calendar when no calendar parameter
Bugs Fixed
  • CONJ-1102 BatchUpdateException.getUpdateCounts() returns SUCCESS_NO_INFO but expects EXECUTE_FAILED

MariaDB Connector/Java 2.7.11

08 Nov 19:15
Compare
Choose a tag to compare

2.7.11 (Nov 2023)

Full Changelog

  • CONJ-1075 LOAD DATA INFILE is broken on windows
  • CONJ-1108 Database metadata listing TEMPORARY tables/sequences
  • CONJ-1118 Aurora Single Write Cluster Endpoint can't make Read DB Connection for readonly transaction

MariaDB Connector/Java 3.2.0

25 Aug 15:03
Compare
Choose a tag to compare

3.2.0 (Aug 2023)

Full Changelog

Notable Changes
  • CONJ-920 Java batched statements with optimistic locking failing. the option useBulkStmts is now disable by default, a new option useBulkStmtsForInserts is enable by default, permetting using bulk for INSERT commands only. This permits optimistic behavior working by default.
  • CONJ-1084 When using maxscale 23.08.0+, and a maxscale node fails, connector will now priorize reconnection to the maxscale node having less connection, to ensure repartition after failover
  • CONJ-1088 Implement databaseTerm option for mysql compatibility
  • CONJ-1096 adding option useLocalSessionState to permit avoiding queries when application only use JDBC methods.
Bugs Fixed
  • CONJ-1075 LOAD DATA INFILE is broken on windows
  • CONJ-1079 getGeneratedKeys after batch will not return all generated id's if first batch command return no generated id.
  • CONJ-1080 maridb Java connector sslMode=verify-ca complaining unable to find trust certificate.
  • CONJ-1082 Multiple session system variables parsing fails
  • CONJ-1083 Using /client prepare/ prefix to force client side prepared statement
  • CONJ-1091 can't make a connection when the Read Replica DB is in a hang state when SocketTimeout=0 set
  • CONJ-1092 ensure respecting server collation
  • CONJ-1094 Missing mariadb/mysql collation

MariaDB Connector/Java 3.0.11

25 Aug 15:00
Compare
Choose a tag to compare

3.0.11 (Aug 2023)

Full Changelog

  • CONJ-1089 correcting 3.0.10 incompatibility with in java 8