Loading example-common/repository-jdbc/src/main/java/org/apache/shardingsphere/example/common/jdbc/repository/CountryRepositroyImpl.java→example-common/repository-jdbc/src/main/java/org/apache/shardingsphere/example/common/jdbc/repository/CountryRepositoryImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -29,11 +29,11 @@ import java.sql.Statement; import java.util.LinkedList; import java.util.List; public class CountryRepositroyImpl implements CountryRepository { public class CountryRepositoryImpl implements CountryRepository { private final DataSource dataSource; public CountryRepositroyImpl(final DataSource dataSource) { public CountryRepositoryImpl(final DataSource dataSource) { this.dataSource = dataSource; } Loading sharding-jdbc-example/broadcast-table-example/broadcast-table-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/broadcast/table/raw/jdbc/JavaConfigurationExample.java +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ package org.apache.shardingsphere.example.broadcast.table.raw.jdbc; import org.apache.shardingsphere.example.broadcast.table.raw.jdbc.config.ShardingDatabasesConfiguration; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositroyImpl; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositoryImpl; import org.apache.shardingsphere.example.common.jdbc.service.CountryServiceImpl; import org.apache.shardingsphere.example.common.service.CommonService; Loading @@ -40,6 +40,6 @@ public class JavaConfigurationExample { } private static CommonService getCountryService(final DataSource dataSource) { return new CountryServiceImpl(new CountryRepositroyImpl(dataSource)); return new CountryServiceImpl(new CountryRepositoryImpl(dataSource)); } } sharding-jdbc-example/broadcast-table-example/broadcast-table-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/broadcast/table/raw/jdbc/YamlConfigurationExample.java +2 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package org.apache.shardingsphere.example.broadcast.table.raw.jdbc; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositroyImpl; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositoryImpl; import org.apache.shardingsphere.example.common.jdbc.service.CountryServiceImpl; import org.apache.shardingsphere.example.common.service.CommonService; import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingDataSourceFactory; Loading @@ -42,6 +42,6 @@ public class YamlConfigurationExample { } private static CommonService getCountryService(final DataSource dataSource) { return new CountryServiceImpl(new CountryRepositroyImpl(dataSource)); return new CountryServiceImpl(new CountryRepositoryImpl(dataSource)); } } Loading
example-common/repository-jdbc/src/main/java/org/apache/shardingsphere/example/common/jdbc/repository/CountryRepositroyImpl.java→example-common/repository-jdbc/src/main/java/org/apache/shardingsphere/example/common/jdbc/repository/CountryRepositoryImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -29,11 +29,11 @@ import java.sql.Statement; import java.util.LinkedList; import java.util.List; public class CountryRepositroyImpl implements CountryRepository { public class CountryRepositoryImpl implements CountryRepository { private final DataSource dataSource; public CountryRepositroyImpl(final DataSource dataSource) { public CountryRepositoryImpl(final DataSource dataSource) { this.dataSource = dataSource; } Loading
sharding-jdbc-example/broadcast-table-example/broadcast-table-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/broadcast/table/raw/jdbc/JavaConfigurationExample.java +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ package org.apache.shardingsphere.example.broadcast.table.raw.jdbc; import org.apache.shardingsphere.example.broadcast.table.raw.jdbc.config.ShardingDatabasesConfiguration; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositroyImpl; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositoryImpl; import org.apache.shardingsphere.example.common.jdbc.service.CountryServiceImpl; import org.apache.shardingsphere.example.common.service.CommonService; Loading @@ -40,6 +40,6 @@ public class JavaConfigurationExample { } private static CommonService getCountryService(final DataSource dataSource) { return new CountryServiceImpl(new CountryRepositroyImpl(dataSource)); return new CountryServiceImpl(new CountryRepositoryImpl(dataSource)); } }
sharding-jdbc-example/broadcast-table-example/broadcast-table-raw-jdbc-example/src/main/java/org/apache/shardingsphere/example/broadcast/table/raw/jdbc/YamlConfigurationExample.java +2 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package org.apache.shardingsphere.example.broadcast.table.raw.jdbc; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositroyImpl; import org.apache.shardingsphere.example.common.jdbc.repository.CountryRepositoryImpl; import org.apache.shardingsphere.example.common.jdbc.service.CountryServiceImpl; import org.apache.shardingsphere.example.common.service.CommonService; import org.apache.shardingsphere.shardingjdbc.api.yaml.YamlShardingDataSourceFactory; Loading @@ -42,6 +42,6 @@ public class YamlConfigurationExample { } private static CommonService getCountryService(final DataSource dataSource) { return new CountryServiceImpl(new CountryRepositroyImpl(dataSource)); return new CountryServiceImpl(new CountryRepositoryImpl(dataSource)); } }