Skip to content

AT mode oracle some binary datatypes not support #4537

@doubleDimple

Description

@doubleDimple
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

AT模式下 ORACLE不支持BFILE类型,不兼容NCLOB

Ⅱ. Describe what happened

问题一:当类型是BFILE类型的时候,无法支持此类型,导致生成beforemage时异常
image
解决思路,在holdSerialDataType方法中加入BFILE的支持,
image

问题二:
BFILE类型在执行回滚方法时,异常,异常原因是执行此方法异常
image
JDBCType中不存在BFILE枚举,说明JDBCType本身不支持??

问题三:当类型是NCLOB的时候,执行branchRollback方法回滚异常,原因是undoPrepare不兼容NCLOB类型导致
image
解决思路:此方法处添加NCLOB的支持可解决,本地已验证
image

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :1.8
  • Seata version: develop
  • OS mac OS
  • ORACLE version: 11g
  • Others:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions