dtmcli-java
dtmcli-java copied to clipboard
Official java client for distributed transaction framework dtm
// pub.dtm.client.barrier.BranchBarrier#insertBarrier private boolean insertBarrier(Connection connection) throws SQLException { log.info("insert barrier {}", this); if (Objects.isNull(connection)) { return false; } PreparedStatement preparedStatement = null; try { String sql = "insert ignore...
No support for 2-phase message yet?
看了一下Java SDK的源码,发现如下几个问题(由大到小排序) ---大问题--- 1. 为完成本地事务屏障,私自打开和关闭JDBC链接,导致和原有Spring 的连接/事务管理功能脱钩。实际项目中,用户代码不太可能直接基于指定的JDBC连接执行,一般是基于Spring技术栈提供的更高级的数据访问技术操作,这会导致SDK保证事务屏障的JDBC连接和实际业务的连接并非同一连接。 ---小问题--- 2. 本地事务屏障只支持MySQL 3. 不会自动创建barrier表
初始化grpc sdk 项目,添加了 saga grpc 调用。 
This PR was automatically created by Safer, an open-source tool that updates vulnerable dependencies with compatible and more secure versions. Analyzed commit: a6e2670ec0abda5ae7b117003b0451431dd62e03 File updated: pom.xml Vulnerabilities reduced: 304 ->...
Hi there 👋, I'm [Safer Bot](https://gitlab.com/lsi-ufcg/vulnerabilidades/safer)! Safer is an open-source tool that automatically updates vulnerable dependencies to more secure and compatible versions. Our goal is to help maintainers keep their...