chl-wxp opened a new issue, #10229:
URL: https://github.com/apache/seatunnel/issues/10229

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   Currently, there is a problem with the jdbc connector: multiple jdbc driver 
packages will conflict before, such as the opengauss driver and the postgresql 
driver. Both packages contain `org.postgresql.Driver`, which will cause related 
synchronization tasks to fail.
   ### solution
   1、Delete one of the packages. However, this is only a temporary solution and 
cannot solve the problem of using two conflicting driver packages at the same 
time.
   2、Rename the class name of the jdbc driver package. For example, add a 
custom prefix to all class names of the opengauss jdbc driver package, and then 
write it like this when configuring the task, for example: `driver = 
org.apache.seatunnel.shade.org.postgresql.Driver`. However, this operation 
threshold is relatively high and not user-friendly.
   3、Add a new connector, but this solution is too bloated and costly.
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to