Skip to content

Conversation

@chl-wxp
Copy link
Contributor

@chl-wxp chl-wxp commented Dec 21, 2025

Why delete the driver

There is a class conflict between the jdbc driver of opengauss-jdbc and the jdbc driver of postgresql, because both driver packages have the class org.postgresql.Driver. If both exist at the same time, an exception will be thrown when I run postgresql related synchronization tasks.

@github-actions github-actions bot added the core SeaTunnel core module label Dec 21, 2025
<include>net.snowflake.snowflake-jdbc:jar</include>
<include>com.xugudb:xugu-jdbc:jar</include>
<include>org.tikv:tikv-client-java:jar</include>
<include>org.opengauss:opengauss-jdbc:jar</include>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply removing it is not really a solution. I’ve also been looking into this area recently — maybe we can find a better way to load different drivers and further optimize the classloader behavior. This problem is not limited to JDBC, and other connectors could benefit from a more general approach as well.
You could open an issue so that we can discuss it with more people in the community.

@chl-wxp
Copy link
Contributor Author

chl-wxp commented Dec 22, 2025

see :
#10229

@chl-wxp chl-wxp marked this pull request as draft December 24, 2025 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core SeaTunnel core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants