mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add deprecated oracle driver error log.
This commit is contained in:
@@ -1123,6 +1123,10 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
|
||||
throw new IllegalArgumentException("driverClassName length > 256.");
|
||||
}
|
||||
|
||||
if (JdbcConstants.ORACLE_DRIVER2.equalsIgnoreCase(driverClass)) {
|
||||
LOG.error("oracle.jdbc.driver.OracleDriver is deprecated.");
|
||||
}
|
||||
|
||||
if (inited) {
|
||||
if (StringUtils.equals(this.driverClass, driverClass)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user