提交 589b959e 编写于 作者: J Joram Barrez

Fix failing non-H2 db tests

上级 88e7b904
......@@ -61,7 +61,7 @@ public class DmnDbSchemaManager implements DbSchemaManager {
liquibase.validate();
}
} catch (Exception e) {
throw new FlowableException("Error initialising dmn data model");
throw new FlowableException("Error initialising dmn data model", e);
}
}
......@@ -77,7 +77,7 @@ public class DmnDbSchemaManager implements DbSchemaManager {
}
jdbcConnection.commit();
DatabaseConnection connection = new JdbcConnection(dmnEngineConfiguration.getDataSource().getConnection());
DatabaseConnection connection = new JdbcConnection(jdbcConnection);
Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(connection);
database.setDatabaseChangeLogTableName(DmnEngineConfiguration.LIQUIBASE_CHANGELOG_PREFIX + database.getDatabaseChangeLogTableName());
database.setDatabaseChangeLogLockTableName(DmnEngineConfiguration.LIQUIBASE_CHANGELOG_PREFIX + database.getDatabaseChangeLogLockTableName());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册