Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable transaction not supported clickhouse-jdbc error #578

Closed
subkanthi opened this issue May 8, 2024 · 2 comments
Closed

Disable transaction not supported clickhouse-jdbc error #578

subkanthi opened this issue May 8, 2024 · 2 comments
Labels
dev-complete Development completed lightweight Issues related to Lightweight version p1 qa-verified label to mark issues that were verified by QA
Milestone

Comments

@subkanthi
Copy link
Collaborator

There is a workaround to disable the transaction not supported JDBC errror.
ClickHouse/clickhouse-java#872

@subkanthi subkanthi added this to the 2.2.0 milestone May 8, 2024
@subkanthi subkanthi added the lightweight Issues related to Lightweight version label May 8, 2024
@subkanthi subkanthi added the p3 label May 28, 2024
@subkanthi
Copy link
Collaborator Author

These changes dont seem to change the logger level

        // Hide the Transaction is not supported errors in clickhouse-jdbc
        final LoggerContext ctx = (LoggerContext) LogManager.getContext(false);
        final Configuration config = ctx.getConfiguration();
        final LoggerConfig loggerConfig = config.getLoggerConfig(ClickHouseConnectionImpl.class.getName());
        loggerConfig.setLevel(Level.ERROR);

@subkanthi
Copy link
Collaborator Author

clickhouse-jdbc uses java.util.logging(JUL), so there needs to be a bridge for JUL to log4j.

@subkanthi subkanthi modified the milestones: 2.3.0, 2.2.0 Jul 10, 2024
@subkanthi subkanthi added the dev-complete Development completed label Jul 10, 2024
@Selfeer Selfeer added the qa-verified label to mark issues that were verified by QA label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-complete Development completed lightweight Issues related to Lightweight version p1 qa-verified label to mark issues that were verified by QA
Projects
None yet
2 participants