codingapi / tx-lcn

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases
https://www.codingapi.com
Apache License 2.0
4.21k stars 1.46k forks source link

TXC模式是否支持oracle数据库? #359

Open CandleFlower opened 5 years ago

CandleFlower commented 5 years ago

oracle数据库是否支持txc模式自动回滚

czbphoto commented 5 years ago

txc是基于阿里的seata 目前还不支持oracle

linhaibing001 commented 4 years ago

lcn模式呢?我用官方demo,改了数据源为oracle就报错,是不是lcn默认也不支持?

czbphoto commented 4 years ago

lcn是支持oralce的

linhaibing001 commented 4 years ago

@czbphoto 您好,请问你有实现了吗?我把官网的demo只改了驱动和数据源配置,单独运行是没问题的,改为串调,就报下面错误

2019-11-13 21:13:29.594 ERROR 5932 --- [io-12002-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Error getting generated key or setting result to parameter object. Cause: java.sql.SQLException: 未执行语句句柄 ; uncategorized SQLException; SQL state [99999]; error code [17144]; 未执行语句句柄; nested exception is java.sql.SQLException: 未执行语句句柄] with root cause

java.sql.SQLException: 未执行语句句柄

您知道这个问题怎么解决吗?

linhaibing001 commented 4 years ago

@czbphoto 您看是否需要我把改了驱动和数据源的配置的demo发给您看下?

linhaibing001 commented 4 years ago

@czbphoto 是支持oracle的,使用@LcnTransaction使用方式不同导致的报错的

linhaibing001 commented 4 years ago

@czbphoto 是官网demo没改使用方案注解使用没统一报错

linhaibing001 commented 4 years ago

@czbphoto 是官网demo没改使用方案注解使用没统一报错