GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dtm-labs/dtmcli-java-sample

BranchesTags
Open more actions menu

Latest commit

 

History

54 Commits
54 Commits

Folders and files

NameName
Last commit message
Last commit date
sql
sql
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

快速开始

安装运行dtm

参考dtm安装运行

运行示例

准备数据库

  • 安装 src/main/resources/application.yml 中的spring/datasource准备数据库实例
  • 创建库表
    • 库 create schema dtm_busi collate utf8mb3_bin;
    • 屏障表 sql/barrier.sql
    • TCC业务表 sql/busi.mysql.sql

运行服务

mvn package && java -jar target/dtmcli-java-sample-0.0.1-SNAPSHOT.jar

触发成功的TCC事务

curl localhost:8081/api/tccBarrier

触发回滚的TCC事务

curl localhost:8081/api/tccBarrierError

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity
Custom properties

Stars

13 stars

Watchers

7 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.