linhaibing001

Results 11 comments of linhaibing001

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:...

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

@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...

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

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

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

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

已经解决了,tx-lcn框架有bug,tc不支持oracle,需要自己手动修改,包含分页语句sql

mysql的数据源改为oracle,其他没改动,互调就有问题,单独点报错,请问这个怎么解决呢?

@LcnTransaction使用方式不同导致的,是可以支持oracle的