摘要: 自己学习用,待补充! 对比 LNC模块,就改一下 Controller (注解要换): @Controller public class TccController { @Autowired ConsumerInfoMapper consumerInfoMapper; private static 阅读全文
posted @ 2021-04-30 18:07 Li&Fan 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 自己学习用,待补充! 对比 LNC模块,就改一下 Controller (注解要换): @Controller public class TccController { @Autowired ProducerInfoMapper producerInfoMapper; @Autowired Rest 阅读全文
posted @ 2021-04-30 18:06 Li&Fan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 自己学习用,待补充! pom: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema- 阅读全文
posted @ 2021-04-30 18:05 Li&Fan 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 自己学习用,待补充! 工程结构: pom: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLS 阅读全文
posted @ 2021-04-30 18:04 Li&Fan 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 自己学习用,待补充! 工程结构 : pom: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XML 阅读全文
posted @ 2021-04-30 18:01 Li&Fan 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 自己学习用,待补充! 原理: LCN模式是通过代理Connection的方式实现对本地事务的操作,然后在由TxManager统一协调控制事务。当本地事务提交回滚或者关闭连接时将会执行假操作,该代理的连接将由LCN连接池管理。 模式特点 该模式对代码的嵌入性为低。 该模式仅限于本地存在连接对象且可通过 阅读全文
posted @ 2021-04-30 17:59 Li&Fan 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 自己学习用,待补充! 地址: https://www.codingapi.com/ 官网总入口 https://www.codingapi.com/docs/txlcn-start/ 中文文档 https://github.com/codingapi/tx-lcn github地址 LCN 是什么? 阅读全文
posted @ 2021-04-30 17:57 Li&Fan 阅读(208) 评论(0) 推荐(0) 编辑