Updating from 3.0.8 to 3.8.2 breaks

Description

When I try to upgrade liquibase-core from 3.0.8 to version after 3.1.0. The following code breaks.

public class TestLiquibase { DataSource dataSource; @Test public void demo() throws SQLException, LiquibaseException { Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(dataSource.getConnection())); Liquibase liquibase = new Liquibase("src/main/resources/changesets/changeset-init-config.xml", new FileSystemResourceAccessor(), database); liquibase.update(null); } }

The code should pass. But it throws an error:

error: reference to update is ambiguous

Environment

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Activity

Show:

Details

Reporter

Affects versions

Priority

Created December 9, 2019 at 4:26 AM
Updated December 9, 2019 at 4:26 AM

Flag notifications