Releases: mariadb-corporation/mariadb-connector-j
Releases · mariadb-corporation/mariadb-connector-j
MariaDB Connector/Java 3.5.1
3.5.1 (Nov 2024)
Notable changes
- CONJ-1193 Implement parsec authentication
- CONJ-1207 New HaMode: sequential write, loadbalance read
- CONJ-1208 permit bulk for INSERT ON DUPLICATE KEY UPDATE commands for 11.5.1+ servers
Bugs Fixed
- CONJ-1053 Mark waffle-jna dependency optional in module descriptor
- CONJ-1196 setObject on java.util.Date was considered was a java.sql.Date and truncate hour/minutes/seconds/ms while it must be considered like a java.sql.Timestamp
- CONJ-1211 jdbc 4.3 enquoteIdentifier missing validation
- CONJ-1213 sql command ending with semicolon and trailing space are not using bulk
MariaDB Connector/Java 3.5.0
3.5.0 (Oct 2024)
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
3.4.1 (Jul 2024)
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
3.3.3 (Feb 2024)
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
2.7.12 (Feb 2024)
- 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
3.3.2 (Dec 2023)
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
3.3.1 (Nov 2023)
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
3.3.0 (Nov 2023)
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
2.7.11 (Nov 2023)
- 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
3.2.0 (Aug 2023)
Notable Changes
- CONJ-920 Java batched statements with optimistic locking failing. the option
useBulkStmts
is now disable by default, a new optionuseBulkStmtsForInserts
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