tx-lcn icon indicating copy to clipboard operation
tx-lcn copied to clipboard

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases

Results 106 tx-lcn issues
Sort by recently updated
recently updated
newest added

- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate. ### 1. Bug Description ### 2. Environment: - JDK version: 1.8...

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8500 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

## Why you need it? Is your feature request related to a problem? Please describe in details ## How it could be? A clear and concise description of what you...

在进行操作事务时候,如果当前微服务停止与当前 TranictionManager 连接 信息,然后重启服务,就会导致 non group id. 过几分钟就会生成, --- 建议,提供时效配置。 望悉知。

com.codingapi.txlcn.tc.core.transaction.txc.analy.PrimaryKeyListVisitor 这个类中 59 行 Object expression = ((Expression)expressions.get(i)).getASTNode().jjtGetValue(); 这个方法,没有判空,可想而知,如果我一张表中没有数据 那就是 null.xxx NullPointException --- 望采纳。

- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate. ### 1. Bug Description Non lcn connection when clear transaction. ###...

## 5.0.1空指针异常问题 ```java java.lang.NullPointerException: null at com.codingapi.txlcn.tc.core.checking.DefaultDTXExceptionHandler.handleNotifyGroupBusinessException(DefaultDTXExceptionHandler.java:97) at com.codingapi.txlcn.tc.core.template.TransactionControlTemplate.notifyGroup(TransactionControlTemplate.java:159) at com.codingapi.txlcn.tc.core.transaction.lcn.control.LcnStartingTransaction.postBusinessCode(LcnStartingTransaction.java:65) at com.codingapi.txlcn.tc.core.DTXServiceExecutor.transactionRunning(DTXServiceExecutor.java:109) at com.codingapi.txlcn.tc.aspect.weave.DTXLogicWeaver.runTransaction(DTXLogicWeaver.java:95) at com.codingapi.txlcn.tc.aspect.TransactionAspect.runWithLcnTransaction(TransactionAspect.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)...

建议pom里加上spring-boot-maven-plugin,这样mvn打包后的jar包可以直接运行。

## Why you need it? Is your feature request related to a problem? Please describe in details ## How it could be? A clear and concise description of what you...