Version information
Release date: June 30, 2022
Version: V2.2.10
Overview
OceanBase Connector/J V2.2.10 supports the LoadBalance feature and is more compatible with MySQL and Oracle. This version applies to general businesses.
Enhanced features
This version supports load balancing. You can specify the random, weighted, or round-robin strategy in the URL or configuration file for connection load balancing. In addition, you can create load balancing groups and blocklist strategies to improve availability and security.
The sendConnectionAttributes() method is provided to control whether to send additional attributes when a connection is created, to support more needs for users with different privileges.
Bug fixes
Fixed a bug that the getWarnings() method returns null when an error occurs in MySQL mode.
Fixed a bug that the ColumnType values of BLOB and TEXT data types in MySQL mode are inconsistent with those in MySQL databases.
Fixed a bug that when a connection is closed in MySQL mode, the checkClose() behaviors of statement-related APIs are inconsistent with those in MySQL databases.
Fixed a bug that when the REF CURSOR data type is used in Oracle mode, the ResultSet.close() API fails to disable the cursor. As a result, cursors in OceanBase Database are not released in a timely manner in some cases.
Fixed a bug that lock issues may be triggered by the setTransactionIsolation() API.