incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

optimize: support oracle date types

Open doubleDimple opened this issue 2 years ago • 1 comments

  • [ ] I have registered the PR changes.

Ⅰ. Describe what this PR did

解决AT模式下,oracle数据库不支持以下时间类型: TIMESTAMP TIMESTAMP WITH TIME ZONE TIMESTAMP WITH LOCAL TIME ZONE 此pr解决以上三个类型的支持

Ⅱ. Does this pull request fix one issue?

fixes https://github.com/seata/seata/issues/4536

Ⅲ. Why don't you add test cases (unit test/integration test)?

yes, test code in # 4411

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

doubleDimple avatar Apr 10 '22 10:04 doubleDimple

Codecov Report

Merging #4542 (7291166) into develop (32d0ca8) will decrease coverage by 0.17%. The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #4542      +/-   ##
=============================================
- Coverage      49.46%   49.29%   -0.18%     
+ Complexity      4128     4125       -3     
=============================================
  Files            734      736       +2     
  Lines          26058    26127      +69     
  Branches        3221     3225       +4     
=============================================
- Hits           12890    12879      -11     
- Misses         11791    11870      +79     
- Partials        1377     1378       +1     
Impacted Files Coverage Δ
...ec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java 32.30% <0.00%> (-0.17%) :arrow_down:
...eata/rm/datasource/exec/oracle/OracleJdbcType.java 0.00% <0.00%> (ø)
...o/seata/rm/datasource/sql/struct/TableRecords.java 66.98% <0.00%> (-0.64%) :arrow_down:
...a/io/seata/rm/datasource/util/OffsetTimeUtils.java 0.00% <0.00%> (ø)
...rage/redis/store/RedisTransactionStoreManager.java 72.06% <0.00%> (-2.09%) :arrow_down:
...in/java/io/seata/server/session/GlobalSession.java 78.68% <0.00%> (-0.78%) :arrow_down:
...very/registry/zk/ZookeeperRegisterServiceImpl.java 61.02% <0.00%> (-0.74%) :arrow_down:

codecov-commenter avatar Apr 10 '22 10:04 codecov-commenter