lyl2008dsg opened a new pull request, #6728: URL: https://github.com/apache/incubator-seata/pull/6728
<!-- Please make sure you have read and understood the contributing guidelines --> - [ ] I have registered the PR [changes](../changes). ### Ⅰ. Describe what this PR did This pull request introduces support for serialization and deserialization of the dm.jdbc.driver.DmdbTimestamp class. The changes ensure that environments lacking the DM JDBC driver do not encounter errors or unnecessary logging. Changes Made 1. Conditional Registration of Serializers and Deserializers: * Added logic to register serializers and deserializers for dm.jdbc.driver.DmdbTimestamp only if the class is present in the classpath. * This avoids issues in environments where the DM JDBC driver is not available. 2. Error Handling: * No error logs are recorded if the dm.jdbc.driver.DmdbTimestamp class is not found. * This is to prevent confusion for users who do not have the DM JDBC driver installed. ### Ⅱ. Does this pull request fix one issue? <!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. --> fix https://github.com/apache/incubator-seata/issues/6701 ### Ⅲ. Why don't you add test cases (unit test/integration test)? ### Ⅳ. Describe how to verify it ### Ⅴ. Special notes for reviews -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
