提交 de53fc8c 编写于 作者: C cherrylzhao

revise YamlConfigurationTransactionExample for XA.

上级 872f0d58
......@@ -39,8 +39,8 @@ import java.sql.Statement;
public class YamlConfigurationTransactionExample {
private static ShardingType shardingType = ShardingType.SHARDING_DATABASES_AND_TABLES;
// private static ShardingType shardingType = ShardingType.SHARDING_MASTER_SLAVE;
private static ShardingType shardingType = ShardingType.SHARDING_DATABASES_AND_TABLES;
// private static ShardingType shardingType = ShardingType.SHARDING_MASTER_SLAVE;
public static void main(final String[] args) throws SQLException, IOException {
DataSource dataSource = getDataSource(shardingType);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册