liquibase-core/src/main/java/liquibase/database/DatabaseFactory.java
public String findDefaultDriver(String url) {
        for (Database database : this.getImplementedDatabases()) {
            String defaultDriver = database.getDefaultDriver(url);
            if (defaultDriver != null) {
                return defaultDriver;
            }
        }

        return null;
    }
public String findDefaultDriver(String url) {
        for (Database database : this.getImplementedDatabases()) {
            String defaultDriver = database.getDefaultDriver(url);
            if (defaultDriver != null) {
                return defaultDriver;
            }
        }

        return null;
    }
public String findDefaultDriver ( String url ) { for ( Database database : this . getImplementedDatabases ( ) ) { String defaultDriver = database . getDefaultDriver ( url ) ; if ( defaultDriver != null ) { return defaultDriver ; } } return null ; }
Returns the Java class name of the JDBC driver class (e.g. "org.mariadb.jdbc.Driver")
for the specified JDBC URL, if any Database class supports that URL.

@param url the JDBC URL to analyse
@return a Database object supporting the URL. May also return null if the JDBC URL is unknown to all handlers.
Returns the Java class name of the JDBC driver class ( e . g . org . mariadb . jdbc . Driver ) for the specified JDBC URL if any Database class supports that URL .