alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.99k stars 8.59k forks source link

[FEATURE]:add oceanbase oracle mode xa connect #6236

Closed xxsc0529 closed 5 days ago

xxsc0529 commented 1 week ago

[description] The current version does not support XA linking in oceanbase oracle mode.With the support of OceanBase-Client for OceanBase Oracle XA links, the judgment of OceanBase Oracle mode is added when obtaining Xaconnect. close #6235 [TEST] Please see the specific test com/alibaba/druid/bvt/pool/xa/OceanBaseOracleXATest.java Since OceanBase Oracle is owned by the Enterprise Edition and is not open to the public, the test results are pasted below image image image image image reference:https://github.com/oceanbase/obconnector-j/blob/master/src/test/java/com/oceanbase/jdbc/OceanbaseOracleXATest.java [NOTE] If you use an XA link in oceanbase oracle mode, you must set the jdbc url connection string parameter. useServerPrepStmts=true is explained in the test class

CLAassistant commented 1 week ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 1 week ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.