mariadb-corporation/mariadb-connector-j (org.mariadb.jdbc:mariadb-java-client)
### [`v3.4.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#340-Apr-2024)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.3...3.4.0)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.3...3.4.0)
##### Notable Changes
- CONJ-981 Add support for connection redirection
- CONJ-1087 handle mariadb-11.1+ transaction_isolation
- CONJ-1100 Be able to filter system tables and views
- CONJ-1105 TLS certificate validation without needs to provide certificate client side
- CONJ-1171 timezone support missing feature
- CONJ-1173 Bulk implementation returning individual results for MariaDB 11.5
- CONJ-1154 avoid unnecessary set transaction isolation queries
##### Bugs Fixed
- CONJ-1103 Connector/J Version 3 Does Not Respect "nullCatalogMeansCurrent" Property
- CONJ-1161 Database connection failing on android
- CONJ-1107 MariaDB Connector 3 no longer supports query timeout with MySQL
- CONJ-1125 Inconsistency in Handling PreparedStatement.executeQuery() between MariaDB and MySQL Connectors
- CONJ-1156 getTables should be ordered as expected
- CONJ-1163 jdbcCompliantTruncation Does Not Appear To Be Working
- CONJ-1164 Variable initialization ahead of LOAD DATA INFILE not possible by validateLocalFileName pattern
- CONJ-1168 useBulkStmts compatibility value with pre 3.2 version
- CONJ-1169 improve Client prepared statement setMaxRows implementation
- CONJ-1170 OFFSET missing from getSQLKeywords
- CONJ-1158 DatabaseMetaData#getFunctions's result not property ordered
- CONJ-1159 DatabaseMetaData#getClientInfoProperties not ordered correctly
- CONJ-1166 Implement connection properties fallbackToSystemKeyStore and fallbackToSystemTrustStore
- CONJ-1174 ConnectorJ gives precision of 20 for signed bigint
### [`v3.3.3`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#333-Feb-2024)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.2...3.3.3)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.2...3.3.3)
##### 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
### [`v3.3.2`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#332-Dec-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.1...3.3.2)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.1...3.3.2)
##### 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
### [`v3.3.1`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#331-Nov-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.0...3.3.1)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.0...3.3.1)
##### 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
### [`v3.3.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#330-Nov-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.2.0...3.3.0)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.2.0...3.3.0)
##### Notable Changes
- CONJ-1115 Make connector become more virtual-thread friendly
- CONJ-1108 Database metadata listing TEMPORARY tables/sequences
- CONJ-1113 update [`ed25519`](https://togithub.com/mariadb-corporation/mariadb-connector-j/commit/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
### [`v3.2.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#320-Aug-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.4...3.2.0)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.4...3.2.0)
##### Notable Changes
- CONJ-920 Java batched statements with optimistic locking failing. the option `useBulkStmts` is now disable by default,
a new option `useBulkStmtsForInserts` is enabled by default, permitting 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 mariadb 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
### [`v3.1.4`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#314-Apr-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.3...3.1.4)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.3...3.1.4)
- CONJ-1065 wrong Resultset.wasNull() for zero-date timestamps
- CONJ-1070 getBlob on TEXT columns throw Exception
- CONJ-1071 Error response during Bulk execution might result in connection wrong state
- CONJ-1067 When some numeric data types are set to UNSIGNED, ResultSetMetaData.getColumnTypeName() does not return
UNSIGNED
### [`v3.1.3`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#313-Mar-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.2...3.1.3)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.2...3.1.3)
- CONJ-1054 Threadsafety issue when using CredentialPlugin in v3.x
- CONJ-1056 JDBC connector reads incorrect data from unix socket when the text is too large
- CONJ-1057 Wrong decoding of binary time with value "00:00:00"
- CONJ-1058 JDBC 4.3 org.mariadb.jdbc.Statement enquote\* methods implementation [@peterhalicky](https://togithub.com/peterhalicky)
- CONJ-1060 BIT default metadata doesn't take care of transformedBitIsBoolean option
- report 2.7.9 bug fixes CONJ-1062 and CONJ-1063
### [`v3.1.2`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#312-Jan-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.1...3.1.2)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.1...3.1.2)
- CONJ-1040 possible ConcurrentModificationException when connecting
- CONJ-1041 possible ArrayIndexOutOfBoundsException
### [`v3.1.1`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#311-Jan-2023)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.0...3.1.1)
- 3.0.10 bug fix:
\- CONJ-1023 Connector/J doesn't set SSL cap bit in Handshake Response Packet
\- CONJ-1026 timezone=auto option failure on non-fixed-offset zone machine
\- CONJ-1032 Compatibility for deprecated arguments is case sensitive now
- CONJ-1036 org.mariadb.jdbc.client.socket.impl.PacketWriter.writeAscii() broken in 3.1.0
### [`v3.1.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#310-Nov-2022)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.9...3.1.0)
##### Notable Changes
- CONJ-899 Support UUID Object
- CONJ-916 when a failover occurs, log replayed transaction
- CONJ-917 deprecated options use must be logged
- CONJ-992 load balance distribution
- CONJ-1008 default value for socket option useReadAheadInput
- CONJ-1009 improve performance reading big result-set
- CONJ-1014 avoid creating array when receiving server packet
- CONJ-1015 pipelining sending multiple packet to socket
##### Bugs Fixed
- CONJ-1020 java 11 option setting ignored
### [`v3.0.11`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#3011-Aug-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.10...3.0.11)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.10...3.0.11)
- CONJ-1089 correcting 3.0.10 incompatibility with in java 8
### [`v3.0.10`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#3010-Jan-2023)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.9...3.0.10)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.9...3.0.10)
- CONJ-1023 Connector/J doesn't set SSL cap bit in Handshake Response Packet
- CONJ-1026 timezone=auto option failure on non-fixed-offset zone machine
- CONJ-1032 Compatibility for deprecated arguments is case sensitive now
### [`v3.0.9`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#309-Nov-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.0.9)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.0.9)
- 2.7.7 merge
- CONJ-1012 stored procedure register output parameter as null if set before registerOutParameter command
- CONJ-1017 Calendar possible race condition, cause wrong timestamp setting
### [`v3.0.8`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#308-Sept-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.7...3.0.8)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.7...3.0.8)
##### Notable Changes
- small performance improvement
\* \[CONJ-1010] improve client side prepared parameter parameter substitution
##### Bugs Fixed
- \[CONJ-997] regression in 3.x when using option galeraAllowedState resulting in an IndexOutOfBoundsException
- \[CONJ-1002] 2nd failover reconnection ignores default database/schema setting when not set by connection string
- \[CONJ-1003] replication configuration always use 1st replica on 3.0
- \[CONJ-996] BatchUpdateException doesn't inherited the SQLState & vendorCode from the cause SQL exception
- \[CONJ-1006] disabling cachePrepStmts with useServerPrepStmts might result in Exception
- \[CONJ-1007] Socket file descriptors are leaked after connecting with unix socket if DB is not up running
- \[CONJ-1010] improve client side prepare statement parameter substitution
- \[CONJ-999] setting createDatabaseIfNotExist option use on read-only server will refuse connection on 3.0
### [`v3.0.7`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#307-Jul-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.6...3.0.7)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.6...3.0.7)
- \[CONJ-993] SQLDataException reading DATA_TYPE on DatabaseMetaData.getTypeInfo() after 3.0.4
- \[CONJ-986] Permit specific Statement.setLocalInfileInputStream for compatibility
- \[CONJ-987] Version 3.0.0 returns String for VARBINARY instead of byte\[] as 2.7.6 did
- \[CONJ-989] Binary column read as String
- \[CONJ-990] Setting timezone=UTC result in SQLSyntaxErrorException
- \[CONJ-991] Regression: binary(16) is returned as String by getObject()
- \[CONJ-994] Version 3.x rejects previously accepted boolean string parameter for BOOLEAN field
### [`v3.0.6`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#306-Jun-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.5...3.0.6)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.5...3.0.6)
- \[CONJ-953] PreparedStatement.getGeneratedKeys() returns rows when no keys are generated in insert
- \[CONJ-975] ArrayIndexOutOfBoundsException when attempt to getTime() from ResultSet
- \[CONJ-976] Improve use of pipelining when allowLocalInfile is enabled
- \[CONJ-979] ResultSet.getObject() returns Byte instead of Boolean for tinyint(1)
- \[CONJ-980] Permit setObject with java.util.Date parameter
- \[CONJ-984] Permit executing initial command with new option `initSql`
- \[CONJ-985] ResultSet.getObject() returns ByteSet instead of Byte\[] for BIT
### [`v3.0.5`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#305-may-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.4...3.0.5)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.4...3.0.5)
- \[CONJ-956] ArrayIndexOutOfBoundsException when alias length > 250
- \[CONJ-947] value after milliseconds precision lost when timestamp is encoded
- \[CONJ-949] keep clientCertificateKeyStoreUrl and clientCertificateKeyStoreUrl aliases
- \[CONJ-950] metadata TEXT/TINYTEXT/MEDIUMTEXT/LONGTEXT wrong column type and length
- \[CONJ-954] java.time.OffsetDateTime not supported
- \[CONJ-958] compatibility with 2.7: now loop through hosts when multiple host without failover mode
- \[CONJ-959] java.time.Instant not supported
- \[CONJ-961] LOAD DATA LOCAL INFILE was disable by default
- \[CONJ-962] resultset for negative TIME value return erronous LocalDateTime values
- \[CONJ-965] better error message when not loading serverSslCert file
- \[CONJ-967] clearParameters() breaks validity when using output parameters in stored procedures
- \[CONJ-969] org.mariadb.jdbc.ClientPreparedStatement is missing a toString implementation, useful for logging
### [`v3.0.4`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#304-Mar-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.3...3.0.4)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.3...3.0.4)
- \[CONJ-915] javadoc addition
- \[CONJ-921] DatabaseMetadata#getTables with null value for tableNamePattern throws Syntax error
- \[CONJ-922] DECIMAL overflow for long/int/short not throwing exception
- \[CONJ-924] NULL column type might result in java.lang.IllegalArgumentException: Unexpected datatype NULL
- \[CONJ-926] Client restrict authentication to 'mysql_native_password,client_ed25519,auth_gssapi_client' if
restrictedAuth parameter is not set
- \[CONJ-924] NULL column test correction
- \[CONJ-923] correctly return 64 bits generated id / updated rows
- \[CONJ-933] load-balancing failover doesn't timeout
- \[CONJ-935] Connection.getMetaData() returns MariaDbClob instead of String
- \[CONJ-937] metadata getColumnTypeName wrong return type
- \[CONJ-934] MariaDbDataSource is sensitive to the order of setting of username and password
- \[CONJ-932] Login packet now use recommended length encoded value for connection attributes
- \[CONJ-925] missing OSGI infos
- \[CONJ-945] ensure retry is limited by retriesAllDown
- \[CONJ-940] Permit updating rows when not having primary info on metadata (Xpand)
- \[CONJ-939] add Xpand testing
### [`v3.0.3`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#303-Jan-2022)
[Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/2.7.12...3.0.3)
[Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.2-rc...3.0.3)
- \[CONJ-908] correct Connection.prepareStatement(String sql, int\[] columnIndexes/String\[] columnNames) to return
generated keys
- \[CONJ-909] adding createDatabaseIfNotExist option for 2.x compatibility
- \[CONJ-910] permit jdbc:mysql scheme when connection string contains "permitMysqlScheme" for compatibility
- \[CONJ-913] Avoid executing additional command on connection for faster connection creation
- \[CONJ-912] remove security manager code (JEP 411)
- \[CONJ-911] enable keep-alive by default
- failover improvement. some specific commands not in transaction are considered to be replayed in case of failover,
like PING, PREPARE, ROLLBACK, ...
- CONJ-705 parameter metadata get parameter count even when query cannot be prepared
- prepareStatement.addBatch must initialize with previous set
- Connection.prepareStatement(String sql, int\[] columnIndexes/String\[] columnNames) must return generated keys
- setting "transaction read only" only for replica
- keeping option interactiveClient for compatibility
- adding option `transactionReplaySize` to control redo cache size
- only set skip metadata connection flag when using binary protocol
- permit getString on a binary object
- compression correction for multi-packet
- COM_RESET_CONNECTION expect a response (ERR_Packet or OK_Packet)
- \[CONJ-901] ArrayIndexOutOfBoundsException on StandardReadableByteBuf.readByte error
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.7.12
->3.4.0
Release Notes
mariadb-corporation/mariadb-connector-j (org.mariadb.jdbc:mariadb-java-client)
### [`v3.4.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#340-Apr-2024) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.3...3.4.0) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.3...3.4.0) ##### Notable Changes - CONJ-981 Add support for connection redirection - CONJ-1087 handle mariadb-11.1+ transaction_isolation - CONJ-1100 Be able to filter system tables and views - CONJ-1105 TLS certificate validation without needs to provide certificate client side - CONJ-1171 timezone support missing feature - CONJ-1173 Bulk implementation returning individual results for MariaDB 11.5 - CONJ-1154 avoid unnecessary set transaction isolation queries ##### Bugs Fixed - CONJ-1103 Connector/J Version 3 Does Not Respect "nullCatalogMeansCurrent" Property - CONJ-1161 Database connection failing on android - CONJ-1107 MariaDB Connector 3 no longer supports query timeout with MySQL - CONJ-1125 Inconsistency in Handling PreparedStatement.executeQuery() between MariaDB and MySQL Connectors - CONJ-1156 getTables should be ordered as expected - CONJ-1163 jdbcCompliantTruncation Does Not Appear To Be Working - CONJ-1164 Variable initialization ahead of LOAD DATA INFILE not possible by validateLocalFileName pattern - CONJ-1168 useBulkStmts compatibility value with pre 3.2 version - CONJ-1169 improve Client prepared statement setMaxRows implementation - CONJ-1170 OFFSET missing from getSQLKeywords - CONJ-1158 DatabaseMetaData#getFunctions's result not property ordered - CONJ-1159 DatabaseMetaData#getClientInfoProperties not ordered correctly - CONJ-1166 Implement connection properties fallbackToSystemKeyStore and fallbackToSystemTrustStore - CONJ-1174 ConnectorJ gives precision of 20 for signed bigint ### [`v3.3.3`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#333-Feb-2024) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.2...3.3.3) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.2...3.3.3) ##### 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 ### [`v3.3.2`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#332-Dec-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.1...3.3.2) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.1...3.3.2) ##### 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 ### [`v3.3.1`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#331-Nov-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.0...3.3.1) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.3.0...3.3.1) ##### 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 ### [`v3.3.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#330-Nov-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.2.0...3.3.0) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.2.0...3.3.0) ##### Notable Changes - CONJ-1115 Make connector become more virtual-thread friendly - CONJ-1108 Database metadata listing TEMPORARY tables/sequences - CONJ-1113 update [`ed25519`](https://togithub.com/mariadb-corporation/mariadb-connector-j/commit/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 ### [`v3.2.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#320-Aug-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.4...3.2.0) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.4...3.2.0) ##### Notable Changes - CONJ-920 Java batched statements with optimistic locking failing. the option `useBulkStmts` is now disable by default, a new option `useBulkStmtsForInserts` is enabled by default, permitting 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 mariadb 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 ### [`v3.1.4`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#314-Apr-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.3...3.1.4) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.3...3.1.4) - CONJ-1065 wrong Resultset.wasNull() for zero-date timestamps - CONJ-1070 getBlob on TEXT columns throw Exception - CONJ-1071 Error response during Bulk execution might result in connection wrong state - CONJ-1067 When some numeric data types are set to UNSIGNED, ResultSetMetaData.getColumnTypeName() does not return UNSIGNED ### [`v3.1.3`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#313-Mar-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.2...3.1.3) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.2...3.1.3) - CONJ-1054 Threadsafety issue when using CredentialPlugin in v3.x - CONJ-1056 JDBC connector reads incorrect data from unix socket when the text is too large - CONJ-1057 Wrong decoding of binary time with value "00:00:00" - CONJ-1058 JDBC 4.3 org.mariadb.jdbc.Statement enquote\* methods implementation [@peterhalicky](https://togithub.com/peterhalicky) - CONJ-1060 BIT default metadata doesn't take care of transformedBitIsBoolean option - report 2.7.9 bug fixes CONJ-1062 and CONJ-1063 ### [`v3.1.2`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#312-Jan-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.1...3.1.2) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.1...3.1.2) - CONJ-1040 possible ConcurrentModificationException when connecting - CONJ-1041 possible ArrayIndexOutOfBoundsException ### [`v3.1.1`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#311-Jan-2023) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.1.0...3.1.1) - 3.0.10 bug fix: \- CONJ-1023 Connector/J doesn't set SSL cap bit in Handshake Response Packet \- CONJ-1026 timezone=auto option failure on non-fixed-offset zone machine \- CONJ-1032 Compatibility for deprecated arguments is case sensitive now - CONJ-1036 org.mariadb.jdbc.client.socket.impl.PacketWriter.writeAscii() broken in 3.1.0 ### [`v3.1.0`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#310-Nov-2022) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.9...3.1.0) ##### Notable Changes - CONJ-899 Support UUID Object - CONJ-916 when a failover occurs, log replayed transaction - CONJ-917 deprecated options use must be logged - CONJ-992 load balance distribution - CONJ-1008 default value for socket option useReadAheadInput - CONJ-1009 improve performance reading big result-set - CONJ-1014 avoid creating array when receiving server packet - CONJ-1015 pipelining sending multiple packet to socket ##### Bugs Fixed - CONJ-1020 java 11 option setting ignored ### [`v3.0.11`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#3011-Aug-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.10...3.0.11) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.10...3.0.11) - CONJ-1089 correcting 3.0.10 incompatibility with in java 8 ### [`v3.0.10`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#3010-Jan-2023) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.9...3.0.10) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.9...3.0.10) - CONJ-1023 Connector/J doesn't set SSL cap bit in Handshake Response Packet - CONJ-1026 timezone=auto option failure on non-fixed-offset zone machine - CONJ-1032 Compatibility for deprecated arguments is case sensitive now ### [`v3.0.9`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#309-Nov-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.0.9) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.0.9) - 2.7.7 merge - CONJ-1012 stored procedure register output parameter as null if set before registerOutParameter command - CONJ-1017 Calendar possible race condition, cause wrong timestamp setting ### [`v3.0.8`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#308-Sept-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.7...3.0.8) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.7...3.0.8) ##### Notable Changes - small performance improvement \* \[CONJ-1010] improve client side prepared parameter parameter substitution ##### Bugs Fixed - \[CONJ-997] regression in 3.x when using option galeraAllowedState resulting in an IndexOutOfBoundsException - \[CONJ-1002] 2nd failover reconnection ignores default database/schema setting when not set by connection string - \[CONJ-1003] replication configuration always use 1st replica on 3.0 - \[CONJ-996] BatchUpdateException doesn't inherited the SQLState & vendorCode from the cause SQL exception - \[CONJ-1006] disabling cachePrepStmts with useServerPrepStmts might result in Exception - \[CONJ-1007] Socket file descriptors are leaked after connecting with unix socket if DB is not up running - \[CONJ-1010] improve client side prepare statement parameter substitution - \[CONJ-999] setting createDatabaseIfNotExist option use on read-only server will refuse connection on 3.0 ### [`v3.0.7`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#307-Jul-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.6...3.0.7) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.6...3.0.7) - \[CONJ-993] SQLDataException reading DATA_TYPE on DatabaseMetaData.getTypeInfo() after 3.0.4 - \[CONJ-986] Permit specific Statement.setLocalInfileInputStream for compatibility - \[CONJ-987] Version 3.0.0 returns String for VARBINARY instead of byte\[] as 2.7.6 did - \[CONJ-989] Binary column read as String - \[CONJ-990] Setting timezone=UTC result in SQLSyntaxErrorException - \[CONJ-991] Regression: binary(16) is returned as String by getObject() - \[CONJ-994] Version 3.x rejects previously accepted boolean string parameter for BOOLEAN field ### [`v3.0.6`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#306-Jun-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.5...3.0.6) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.5...3.0.6) - \[CONJ-953] PreparedStatement.getGeneratedKeys() returns rows when no keys are generated in insert - \[CONJ-975] ArrayIndexOutOfBoundsException when attempt to getTime() from ResultSet - \[CONJ-976] Improve use of pipelining when allowLocalInfile is enabled - \[CONJ-979] ResultSet.getObject() returns Byte instead of Boolean for tinyint(1) - \[CONJ-980] Permit setObject with java.util.Date parameter - \[CONJ-984] Permit executing initial command with new option `initSql` - \[CONJ-985] ResultSet.getObject() returns ByteSet instead of Byte\[] for BIT ### [`v3.0.5`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#305-may-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.4...3.0.5) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.4...3.0.5) - \[CONJ-956] ArrayIndexOutOfBoundsException when alias length > 250 - \[CONJ-947] value after milliseconds precision lost when timestamp is encoded - \[CONJ-949] keep clientCertificateKeyStoreUrl and clientCertificateKeyStoreUrl aliases - \[CONJ-950] metadata TEXT/TINYTEXT/MEDIUMTEXT/LONGTEXT wrong column type and length - \[CONJ-954] java.time.OffsetDateTime not supported - \[CONJ-958] compatibility with 2.7: now loop through hosts when multiple host without failover mode - \[CONJ-959] java.time.Instant not supported - \[CONJ-961] LOAD DATA LOCAL INFILE was disable by default - \[CONJ-962] resultset for negative TIME value return erronous LocalDateTime values - \[CONJ-965] better error message when not loading serverSslCert file - \[CONJ-967] clearParameters() breaks validity when using output parameters in stored procedures - \[CONJ-969] org.mariadb.jdbc.ClientPreparedStatement is missing a toString implementation, useful for logging ### [`v3.0.4`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#304-Mar-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.3...3.0.4) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.3...3.0.4) - \[CONJ-915] javadoc addition - \[CONJ-921] DatabaseMetadata#getTables with null value for tableNamePattern throws Syntax error - \[CONJ-922] DECIMAL overflow for long/int/short not throwing exception - \[CONJ-924] NULL column type might result in java.lang.IllegalArgumentException: Unexpected datatype NULL - \[CONJ-926] Client restrict authentication to 'mysql_native_password,client_ed25519,auth_gssapi_client' if restrictedAuth parameter is not set - \[CONJ-924] NULL column test correction - \[CONJ-923] correctly return 64 bits generated id / updated rows - \[CONJ-933] load-balancing failover doesn't timeout - \[CONJ-935] Connection.getMetaData() returns MariaDbClob instead of String - \[CONJ-937] metadata getColumnTypeName wrong return type - \[CONJ-934] MariaDbDataSource is sensitive to the order of setting of username and password - \[CONJ-932] Login packet now use recommended length encoded value for connection attributes - \[CONJ-925] missing OSGI infos - \[CONJ-945] ensure retry is limited by retriesAllDown - \[CONJ-940] Permit updating rows when not having primary info on metadata (Xpand) - \[CONJ-939] add Xpand testing ### [`v3.0.3`](https://togithub.com/mariadb-corporation/mariadb-connector-j/blob/HEAD/CHANGELOG.md#303-Jan-2022) [Compare Source](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/2.7.12...3.0.3) [Full Changelog](https://togithub.com/mariadb-corporation/mariadb-connector-j/compare/3.0.2-rc...3.0.3) - \[CONJ-908] correct Connection.prepareStatement(String sql, int\[] columnIndexes/String\[] columnNames) to return generated keys - \[CONJ-909] adding createDatabaseIfNotExist option for 2.x compatibility - \[CONJ-910] permit jdbc:mysql scheme when connection string contains "permitMysqlScheme" for compatibility - \[CONJ-913] Avoid executing additional command on connection for faster connection creation - \[CONJ-912] remove security manager code (JEP 411) - \[CONJ-911] enable keep-alive by default - failover improvement. some specific commands not in transaction are considered to be replayed in case of failover, like PING, PREPARE, ROLLBACK, ... - CONJ-705 parameter metadata get parameter count even when query cannot be prepared - prepareStatement.addBatch must initialize with previous set - Connection.prepareStatement(String sql, int\[] columnIndexes/String\[] columnNames) must return generated keys - setting "transaction read only" only for replica - keeping option interactiveClient for compatibility - adding option `transactionReplaySize` to control redo cache size - only set skip metadata connection flag when using binary protocol - permit getString on a binary object - compression correction for multi-packet - COM_RESET_CONNECTION expect a response (ERR_Packet or OK_Packet) - \[CONJ-901] ArrayIndexOutOfBoundsException on StandardReadableByteBuf.readByte errorConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.