apache / shardingsphere-example

Sharding-Sphere examples
Apache License 2.0
974 stars 731 forks source link

Seata example can't run. #171

Closed harvies closed 5 years ago

harvies commented 5 years ago

Bug Report

For English only, other languages will not accept.

Before report a bug, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details. If no response more than 7 days and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

4.0.0-RC3-SNAPSHOT

Which project did you use? Sharding-JDBC or Sharding-Proxy?

Sharding-JDBC

Expected behavior

Can run normally.

Actual behavior

Can't run normally.

Reason analyze (If you can)

1.The parent module is provided for the "seata" package. 2.The SQL statement is wrong.

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

run "org.apache.shardingsphere.example.transaction.base.seata.raw.jdbc.ExampleMain"

Example codes for reproduce this issue (such as a github link).

Before modification. image image After modification. image