support OceanBase ExceptionSorter

Signed-off-by: hongwei yi hongweiyi@hotmail.com
This commit is contained in:
hongweiyi
2020-04-14 21:16:31 +08:00
parent 2358830aa4
commit abbc46a4b0
@@ -1335,7 +1335,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
} else if (realDriverClassName.equals(JdbcConstants.ORACLE_DRIVER)
|| realDriverClassName.equals(JdbcConstants.ORACLE_DRIVER2)) {
this.exceptionSorter = new OracleExceptionSorter();
} else if (realDriverClassName.equals(JdbcConstants.OCEANBASE_DRIVER)) {
} else if (realDriverClassName.equals(JdbcConstants.OCEANBASE_DRIVER)) { // 写一个真实的 TestCase
if (JdbcUtils.OCEANBASE_ORACLE.equalsIgnoreCase(dbType)) {
this.exceptionSorter = new OceanBaseOracleExceptionSorter();
} else {