Skip to content

Releases: mariadb-corporation/mariadb-connector-j

MariaDB Connector/Java 3.0.7

04 Aug 15:16
Compare
Choose a tag to compare

3.0.7 (Jul 2022)

Full Changelog

  • [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

MariaDB Connector/Java 3.0.6

29 Jun 14:56
Compare
Choose a tag to compare

3.0.6 (Jun 2022)

Full Changelog

  • [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

MariaDB Connector/Java 2.7.6

29 Jun 14:54
Compare
Choose a tag to compare

2.7.6 (Jun 2022)

Full Changelog

  • CONJ-983 avoid race condition provoking locking issue

MariaDB Connector/Java 3.0.5

25 May 13:46
Compare
Choose a tag to compare

3.0.5 (may 2022)

Full Changelog

  • [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

MariaDB Connector/Java 3.0.4

25 Mar 19:34
Compare
Choose a tag to compare

3.0.4 (Mar 2022)

Full Changelog

  • [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

MariaDB Connector/Java 2.7.5

19 Jan 18:05
Compare
Choose a tag to compare

2.7.5 (Jan 2021)

Full Changelog

  • CONJ-914 remove enabling session_track_schema on connection creation
  • CONJ-895 Wrong pattern for detection of aurora
  • CONJ-897 Include connection id in certain important log messages
  • CONJ-896 Fix regression in pooled connections

MariaDB Connector/Java 3.0.3

25 Jan 21:48
Compare
Choose a tag to compare

3.0.3 (Jan 2022)

Full Changelog

  • [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

MariaDB Connector/Java 3.0.2-rc

16 Sep 20:26
Compare
Choose a tag to compare
Pre-release

3.0.2-rc (31 Aug 2021)

Full Changelog

  • CONJ-879 Java 9 module full support
    • Aws IAM credential now use sdk v2 authentication that support java 9 modularity
  • CONJ-896 Ensure pool connections validation when a socket fail
  • CONJ-897 Ensure having connection's thread id in Exception / debug logs

minor:

  • Ensure travis testing for PR/fork

MariaDB Connector/Java 3.0.1-beta

11 Aug 17:55
Compare
Choose a tag to compare
Pre-release

3.0.1-beta (29 Jul 2021)

Full Changelog

  • CONJ-879 Provide JPMS module descriptor
  • CONJ-880 metadata query performance correction
  • CONJ-884 MariaDbPoolDataSource leaks connections when the mariadb server restarts
  • CONJ-885 org.mariadb.jdbc.internal.util.pool.Pool swallows SQLException during addConnection
  • CONJ-891 getImportedKeys with null catalog restrict result to current database
  • CONJ-894 Adding useMysqlMetadata for 2.7 compatibility

MariaDB Connector/Java 2.7.4

11 Aug 17:53
Compare
Choose a tag to compare

2.7.4 (29 Jul 2021)

Full Changelog

  • CONJ-890 getImportedKeys/getTables regression returning an empty resultset for null/empty catalog
  • CONJ-863 Ensure socket state when SocketTimeout occurs
  • CONJ-873 IndexOutOfBoundsException when executing prepared queries using automatic key generation in parallel
  • CONJ-884 MariaDbPoolDataSource leaks connections when the mariadb server restarts
  • CONJ-893 DatabaseMetaData.getColumns regression causing TINYINT(x) with x > 1 to return BIT type in place of TINYINT
  • CONJ-889 CallableStatement using function throw wrong error on getter