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.
Feature enhancements
This version supports the LoadBalance feature. You can specify the random, weighted, or rotation 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 established, to support more needs for users with different privileges.
Bug fixes
Fixed the issue where the
getWarnings()method returns null when an error occurs in MySQL mode.Fixed the issue where the
ColumnTypevalues of BLOB and TEXT data types in MySQL mode are inconsistent with those in MySQL databases.Fixed the issue where, when a connection is closed in MySQL mode, the
checkClose()behaviors of theStatementinterface are inconsistent with those in MySQL databases.Fixed the issue where, when the REF CURSOR data type is used in Oracle mode, the
ResultSet.close()method fails to close the cursor. As a result, cursors in OceanBase Database are not released in a timely manner in some cases.Fixed the issue where lock issues may be triggered by the
setTransactionIsolation()method.