YvCeung commented on issue #7508:
URL: 
https://github.com/apache/incubator-seata/issues/7508#issuecomment-3049058509

   > 
https://github.com/apache/incubator-seata/blob/v2.0.0/seata-plugin/seata-jackson-parser-oracle/src/main/java/io/seata/plugin/jackson/parser/oracle/OracleTimestampJacksonSerializer.java
 I think we need to create a similar serializer for DMTimestamp, just like we 
extended the OracleTimestamp serializer. Alternatively, you could temporarily 
use other serialization methods, which might solve this problem.
   
   
   I don't quite understand why a new serialization class for DMTimestamp needs 
to be created. Currently, there is already an implementation for this part in 
the project. So, are there any other considerations for doing this?
   ```java
   org.apache.seata.rm.datasource.undo.parser.JacksonUndoLogParser
   private final JsonSerializer dmdbTimestampSerializer = new 
DmdbTimestampSerializer();
   
       /**
        * customize deserializer for dm.jdbc.driver.DmdbTimestamp
        */
       private final JsonDeserializer dmdbTimestampDeserializer = new 
DmdbTimestampDeserializer();
   ```
   


-- 
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: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to