Commit 4d329e0d authored by terrymanu's avatar terrymanu
Browse files

move DataSourceUtil to jdbc example

parent b61ac5df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ package io.shardingsphere.example.jdbc.main.nodep.java;
import io.shardingsphere.api.config.MasterSlaveRuleConfiguration;
import io.shardingsphere.shardingjdbc.api.MasterSlaveDataSourceFactory;
import io.shardingsphere.example.repository.jdbc.JDBCRepository;
import io.shardingsphere.example.repository.jdbc.DataSourceUtil;
import io.shardingsphere.example.jdbc.util.DataSourceUtil;

import javax.sql.DataSource;
import java.sql.SQLException;
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ import io.shardingsphere.example.jdbc.fixture.algorithm.ModuloShardingDatabaseAl
import io.shardingsphere.example.jdbc.fixture.algorithm.ModuloShardingTableAlgorithm;
import io.shardingsphere.shardingjdbc.api.ShardingDataSourceFactory;
import io.shardingsphere.example.repository.jdbc.JDBCRepository;
import io.shardingsphere.example.repository.jdbc.DataSourceUtil;
import io.shardingsphere.example.jdbc.util.DataSourceUtil;

import javax.sql.DataSource;
import java.sql.SQLException;
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import io.shardingsphere.api.config.TableRuleConfiguration;
import io.shardingsphere.api.config.strategy.InlineShardingStrategyConfiguration;
import io.shardingsphere.shardingjdbc.api.ShardingDataSourceFactory;
import io.shardingsphere.example.repository.jdbc.JDBCRepository;
import io.shardingsphere.example.repository.jdbc.DataSourceUtil;
import io.shardingsphere.example.jdbc.util.DataSourceUtil;

import javax.sql.DataSource;
import java.sql.SQLException;
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import io.shardingsphere.api.config.strategy.StandardShardingStrategyConfigurati
import io.shardingsphere.example.jdbc.fixture.algorithm.ModuloShardingTableAlgorithm;
import io.shardingsphere.shardingjdbc.api.ShardingDataSourceFactory;
import io.shardingsphere.example.repository.jdbc.JDBCRepository;
import io.shardingsphere.example.repository.jdbc.DataSourceUtil;
import io.shardingsphere.example.jdbc.util.DataSourceUtil;

import javax.sql.DataSource;
import java.sql.SQLException;
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ import io.shardingsphere.api.config.ShardingRuleConfiguration;
import io.shardingsphere.api.config.TableRuleConfiguration;
import io.shardingsphere.shardingjdbc.api.ShardingDataSourceFactory;
import io.shardingsphere.example.repository.jdbc.JDBCRepository;
import io.shardingsphere.example.repository.jdbc.DataSourceUtil;
import io.shardingsphere.example.jdbc.util.DataSourceUtil;

import javax.sql.DataSource;
import java.sql.SQLException;
Loading