seata 使用oracle_seata 使用oracle数据库不同用户下的表 get tablemeta failed

在SpringCloud项目中,使用Oracle数据库且通过A用户访问B用户表时,报错:'get tablemeta failed'。错误源于Seata在尝试获取表元数据时失败,这可能是由于Seata不支持跨用户获取表元数据导致的。
摘要由CSDN通过智能技术生成

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

Ⅰ. Issue Description

springcloud项目。使用的是oracle数据库,连接配置的是A用户,通过A用户给B用户的表中插入数据时报错(A用户有访问B用户从权限)

Ⅱ. Describe what happened

Caused by: org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: io.seata.common.exception.ShouldNeverHappenException: [xid:222.30.195.152:8091:64378890993893376]get tablemeta failed

at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:97) ~[mybatis-3.5.5.jar:3.5.5]

at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:59) ~[mybatis-3.5.5.jar:3.5.5]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]

at sun.reflect.Deleg

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值