Loading sharding-jdbc-example/spring-boot-example/spring-boot-data-mybatis-example/src/main/java/io/shardingsphere/example/spring/boot/mybatis/SpringBootDataMain.java +3 −3 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.annotation.ComponentScan; @ComponentScan({ "io.shardingsphere.repository.mybatis" }) @EntityScan(basePackages = {"io.shardingsphere.repository.mybatis.entity"}) @MapperScan(basePackages = "io.shardingsphere.repository.mybatis.repository") @ComponentScan({ "io.shardingsphere.example.repository.mybatis" }) @EntityScan(basePackages = {"io.shardingsphere.example.repository.mybatis.entity"}) @MapperScan(basePackages = "io.shardingsphere.example.repository.mybatis.repository") @SpringBootApplication public class SpringBootDataMain { Loading Loading
sharding-jdbc-example/spring-boot-example/spring-boot-data-mybatis-example/src/main/java/io/shardingsphere/example/spring/boot/mybatis/SpringBootDataMain.java +3 −3 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.annotation.ComponentScan; @ComponentScan({ "io.shardingsphere.repository.mybatis" }) @EntityScan(basePackages = {"io.shardingsphere.repository.mybatis.entity"}) @MapperScan(basePackages = "io.shardingsphere.repository.mybatis.repository") @ComponentScan({ "io.shardingsphere.example.repository.mybatis" }) @EntityScan(basePackages = {"io.shardingsphere.example.repository.mybatis.entity"}) @MapperScan(basePackages = "io.shardingsphere.example.repository.mybatis.repository") @SpringBootApplication public class SpringBootDataMain { Loading