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

The build JDK version of release jar for clickhouse-native-jdbc 2.6.3 is 16.0.2,which is incompatible with Java 8/11 #393

Closed
wallace-clickhouse opened this issue Dec 22, 2021 · 4 comments

Comments

@wallace-clickhouse
Copy link

wallace-clickhouse commented Dec 22, 2021

Environment

  • OS version: suse 12.5
  • JDK version:1.8
  • ClickHouse Server version: 20.3.2.1
  • ClickHouse Native JDBC version:2.6.3

the content of MANIFEST.MF is as follow:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven 3.8.4
Built-By: sundy
Build-Jdk: 16.0.2

Under the JDK 1.8 runtime environment, error is reported when the insert operation is performed when I tested.
So is it a bug?Can you republish a 2.6.3 version of the jar compiled with JDK 1.8?

@pan3793
Copy link
Member

pan3793 commented Dec 22, 2021

OK, I will publish 2.6.4 in few minutes

@sundy-li
Copy link
Member

Oh, my bad, I just got a new mac M1 and upgrade the jdk.

@wallace-clickhouse
Copy link
Author

wallace-clickhouse commented Dec 22, 2021

@pan3793
Can you recompile the version and then release it as 2.6.3?
Thank you!

@pan3793
Copy link
Member

pan3793 commented Dec 22, 2021

We can not redeploy a version which already exists in maven central.
The fixed version v2.6.4 has been sent to maven central, should be available soon.
(Maven Central may need much time to process it due to the log4shell issues)

@pan3793 pan3793 closed this as completed Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants