Commit 2267ae35 authored by terrymanu's avatar terrymanu
Browse files

move sharding-jdbc-transaction-example to sharding-jdbc-example

parent 35d4e6c3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@
    
    <modules>
        <module>sharding-jdbc-example</module>
        <module>sharding-jdbc-transaction-example</module>
        <module>sharding-proxy-example</module>
    </modules>
    
+1 −0
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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>
+0 −0

File moved.

+1 −0
Original line number Diff line number Diff line
@@ -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