Version information
Release date: June 30, 2022
Version: V2.2.10
Overview
OceanBase Connector/J V2.2.10 introduces the LoadBalance feature and enhances compatibility with MySQL and Oracle. It is suitable for general business use.
Feature enhancements
Added the LoadBalance feature. You can specify a connection balancing method (random, weighted, or round-robin) by using a URL or configuration file to establish connections through load balancing. Load balancing groups and blocklist policies are also supported to improve availability and security.
Added support for the sendConnectionAttributes interface to control whether to send extended attributes during connection establishment. This meets the requirement of providing more options for users with different permissions.
Bug fixes
Fixed an issue where the getWarnings() interface returns null when an error occurs in MySQL-compatible mode.
Fixed an issue where the ColumnType for the Blob and Text types is inconsistent with MySQL in MySQL-compatible mode.
Fixed an issue where the checkClose() behavior of the Statement interface is inconsistent with MySQL when closing a connection in MySQL-compatible mode.
Fixed an issue where the ResultSet.close() interface does not implement the cursor closing logic when using a refcursor in Oracle-compatible mode. As a result, cursors in OceanBase Database may not be released in a timely manner in some cases.
Fixed an issue where the setTransactionIsolation interface may trigger a lock.
