We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OceanBase存在两种租户:Oracle、MySQL,不同租户应选择对应的ExceptionSorter DruidDataSource.java中,调用JdbcUtils.getDbType方法根据jdbcUrl获取OB的租户类型 当url前缀为jdbc:oceanbase:oracle:时,认为是Oracle租户,当前缀为jdbc:oceanbase:时,认为是MySQL租户 从而选择对应的ExceptionSorter 但是Oracle租户,也可以使用jdbc:oceanbase:前缀配置url,当用户使用jdbc:oceanbase:配置url时,连接池将错误的使用MySqlExceptionSorter,导致不能按照预期剔除不可用连接
DruidDataSource.java
JdbcUtils.getDbType
jdbc:oceanbase:oracle:
jdbc:oceanbase:
MySqlExceptionSorter
The text was updated successfully, but these errors were encountered:
No branches or pull requests
OceanBase存在两种租户:Oracle、MySQL,不同租户应选择对应的ExceptionSorter



DruidDataSource.java
中,调用JdbcUtils.getDbType
方法根据jdbcUrl获取OB的租户类型当url前缀为
jdbc:oceanbase:oracle:
时,认为是Oracle租户,当前缀为jdbc:oceanbase:
时,认为是MySQL租户从而选择对应的ExceptionSorter
但是Oracle租户,也可以使用
jdbc:oceanbase:
前缀配置url,当用户使用jdbc:oceanbase:
配置url时,连接池将错误的使用MySqlExceptionSorter
,导致不能按照预期剔除不可用连接The text was updated successfully, but these errors were encountered: