Using liquibase-core:1.9.5
-
Class.forName("org.hsqldb.jdbcDriver");
DataSource dataSource = new DriverManagerDataSource("jdbc:hsqldb:mem:test", "SA", "");
Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(dataSource.getConnection());
Liquibase liquibase = new Liquibase("test-changelog.xml", new FileSystemFileOpener(), database);
liquibase.update(null);
does not work. I will get an error creating the liquibase changelog tracking tables (appears to be trying to create DATABASECHANGELOG table twice). Any work around?
Thanks,
David