Skip to content

Commit

Permalink
feat: Issue a warning when detecting legacy dbDriver based loading of…
Browse files Browse the repository at this point in the history
… JDBC driver from classpath
  • Loading branch information
aikebah committed Aug 31, 2024
1 parent 9919551 commit 64a6c8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private void initialize() throws DatabaseException {
driver = DriverLoader.load(driverName, driverPath);
} else {
driver = DriverLoader.load(driverName);
LOGGER.warn("Explicitly loaded driver {} from classpath; if JDBCv4 service loading is supported by the driver you should remove the dbDriver configuration", driverName);
}
} catch (DriverLoadException ex) {
LOGGER.debug("Unable to load database driver", ex);
Expand Down

0 comments on commit 64a6c8c

Please sign in to comment.