liquibase-cdi/src/main/java/liquibase/integration/cdi/CDILiquibase.java
protected Database createDatabase(Connection c) throws DatabaseException {
        Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(c));
        if (config.getDefaultSchema() != null) {
            database.setDefaultSchemaName(config.getDefaultSchema());
        }
        return database;
    }
protected Database createDatabase(Connection c) throws DatabaseException {
        Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(c));
        if (config.getDefaultSchema() != null) {
            database.setDefaultSchemaName(config.getDefaultSchema());
        }
        return database;
    }
protected Database createDatabase ( Connection c ) throws DatabaseException { Database database = DatabaseFactory . getInstance ( ) . findCorrectDatabaseImplementation ( new JdbcConnection ( c ) ) ; if ( config . getDefaultSchema ( ) != null ) { database . setDefaultSchemaName ( config . getDefaultSchema ( ) ) ; } return database ; }
Subclasses may override this method add change some database settings such as
default schema before returning the database object.
@param c
@return a Database implementation retrieved from the {@link liquibase.database.DatabaseFactory}.
@throws DatabaseException
Subclasses may override this method add change some database settings such as default schema before returning the database object .