@ -664,10 +664,6 @@ public class HikariConfig implements HikariConfigMBean
logger . error ( "when specifying driverClassName, jdbcUrl must also be specified" ) ;
throw new IllegalStateException ( "when specifying driverClassName, jdbcUrl must also be specified" ) ;
}
else if ( jdbcUrl ! = null & & driverClassName = = null ) {
logger . error ( "when specifying jdbcUrl, driverClassName must also be specified" ) ;
throw new IllegalStateException ( "when specifying jdbcUrl, driverClassName must also be specified" ) ;
}
else if ( driverClassName ! = null & & dataSourceClassName ! = null ) {
logger . error ( "both driverClassName and dataSourceClassName are specified, one or the other should be used" ) ;
throw new IllegalStateException ( "both driverClassName and dataSourceClassName are specified, one or the other should be used" ) ;