We have a very basic setup of clickhouse and liquibase-clickhouse but it doenst work with the official Clickhouse Driver.
The official driver always gives error:
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLFeatureNotSupportedException: Transactions are not supported
at liquibase.database.AbstractJdbcDatabase.setAutoCommit(AbstractJdbcDatabase.java:1234)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:704)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:49)
at liquibase.changelog.ChangeLogIterator$2.lambda$null$0(ChangeLogIterator.java:111)
at liquibase.Scope.lambda$child$0(Scope.java:177)
The official connection (ClickHouseConnectionImpl) does the following:
@Override
public void setAutoCommit(boolean autoCommit) throws SQLException {
if (autoCommit) {
return;
}
throw new SQLFeatureNotSupportedException("Transactions are not supported");
}
I already tried to set runInTransaction="false" inside liquibase xmls but this doesnt change anything.
Hi guys,
We have a very basic setup of clickhouse and liquibase-clickhouse but it doenst work with the official Clickhouse Driver. The official driver always gives error:
SpringLiquibase config:
The official connection (ClickHouseConnectionImpl) does the following:
I already tried to set runInTransaction="false" inside liquibase xmls but this doesnt change anything.
Version info: clickhouse-jdbc: 0.3.1-patch --> https://github.com/ClickHouse/clickhouse-jdbc clickhouse-liquibase: 0.6.1