Loading pom.xml +0 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ <modules> <module>sharding-jdbc-example</module> <module>sharding-jdbc-transaction-example</module> <module>sharding-proxy-example</module> </modules> Loading sharding-jdbc-example/pom.xml +1 −0 Original line number Diff line number Diff line Loading @@ -15,5 +15,6 @@ <module>raw-jdbc-example</module> <module>spring-boot-example</module> <module>spring-namespace-example</module> <module>transaction-example</module> </modules> </project> sharding-jdbc-transaction-example/pom.xml→sharding-jdbc-example/transaction-example/pom.xml +2 −2 Original line number Diff line number Diff line Loading @@ -2,10 +2,10 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.shardingsphere</groupId> <artifactId>sharding-sphere-example</artifactId> <artifactId>sharding-jdbc-example</artifactId> <version>3.0.0.M4-SNAPSHOT</version> </parent> <artifactId>sharding-jdbc-transaction-example</artifactId> <artifactId>transaction-example</artifactId> <dependencies> <dependency> Loading sharding-jdbc-transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMain.java→sharding-jdbc-example/transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMain.java +0 −0 File moved. View file sharding-jdbc-transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMybatisMain.java→sharding-jdbc-example/transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMybatisMain.java +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class LocalTransactionMybatisMain { public static void main(final String[] args) { try (ConfigurableApplicationContext applicationContext = new ClassPathXmlApplicationContext("META-INF/shardingDatabasesTables.xml")) { final DemoService demoService = applicationContext.getBean(DemoService.class); Loading Loading
pom.xml +0 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ <modules> <module>sharding-jdbc-example</module> <module>sharding-jdbc-transaction-example</module> <module>sharding-proxy-example</module> </modules> Loading
sharding-jdbc-example/pom.xml +1 −0 Original line number Diff line number Diff line Loading @@ -15,5 +15,6 @@ <module>raw-jdbc-example</module> <module>spring-boot-example</module> <module>spring-namespace-example</module> <module>transaction-example</module> </modules> </project>
sharding-jdbc-transaction-example/pom.xml→sharding-jdbc-example/transaction-example/pom.xml +2 −2 Original line number Diff line number Diff line Loading @@ -2,10 +2,10 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.shardingsphere</groupId> <artifactId>sharding-sphere-example</artifactId> <artifactId>sharding-jdbc-example</artifactId> <version>3.0.0.M4-SNAPSHOT</version> </parent> <artifactId>sharding-jdbc-transaction-example</artifactId> <artifactId>transaction-example</artifactId> <dependencies> <dependency> Loading
sharding-jdbc-transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMain.java→sharding-jdbc-example/transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMain.java +0 −0 File moved. View file
sharding-jdbc-transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMybatisMain.java→sharding-jdbc-example/transaction-example/src/main/java/io/shardingsphere/example/transaction/LocalTransactionMybatisMain.java +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class LocalTransactionMybatisMain { public static void main(final String[] args) { try (ConfigurableApplicationContext applicationContext = new ClassPathXmlApplicationContext("META-INF/shardingDatabasesTables.xml")) { final DemoService demoService = applicationContext.getBean(DemoService.class); Loading