Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
c5c9e1c6
Shardingsphere
项目概览
apache
/
Shardingsphere
通知
56
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Shardingsphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c5c9e1c6
编写于
9月 21, 2017
作者:
H
haocao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Refactor sharding-jdbc-example 6th.
上级
da2f14a1
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
13 addition
and
14 deletion
+13
-14
pom.xml
pom.xml
+0
-1
sharding-jdbc-example-config-spring-masterslave/src/main/java/io/shardingjdbc/example/config/spring/masterslave/algorithm/PreciseModuloTableShardingAlgorithm.java
...rslave/algorithm/PreciseModuloTableShardingAlgorithm.java
+2
-2
sharding-jdbc-example-jdbc-transaction/src/main/java/io/shardingjdbc/example/transaction/algorithm/ModuloShardingAlgorithm.java
...xample/transaction/algorithm/ModuloShardingAlgorithm.java
+2
-2
sharding-jdbc-example-jpa/src/main/java/io/shardingjdbc/example/jpa/algorithm/PreciseModuloDatabaseShardingAlgorithm.java
...jpa/algorithm/PreciseModuloDatabaseShardingAlgorithm.java
+2
-2
sharding-jdbc-example-jpa/src/main/java/io/shardingjdbc/example/jpa/algorithm/PreciseModuloTableShardingAlgorithm.java
...le/jpa/algorithm/PreciseModuloTableShardingAlgorithm.java
+2
-2
sharding-jdbc-example-orchestration/src/main/java/io/shardingjdbc/example/orchestration/algorithm/ModuloTableShardingAlgorithm.java
...orchestration/algorithm/ModuloTableShardingAlgorithm.java
+2
-2
sharding-jdbc-raw-jdbc-example/pom.xml
sharding-jdbc-raw-jdbc-example/pom.xml
+1
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/pom.xml
...-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/pom.xml
+2
-2
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/java/io/shardingjdbc/example/config/spring/YamlWithAssignedDataSourceMain.java
...example/config/spring/YamlWithAssignedDataSourceMain.java
+0
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/java/io/shardingjdbc/example/config/spring/YamlWithDefaultDataSourceMain.java
.../example/config/spring/YamlWithDefaultDataSourceMain.java
+0
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/java/io/shardingjdbc/example/config/spring/YamlWithMasterSlaveDataSourceMain.java
...mple/config/spring/YamlWithMasterSlaveDataSourceMain.java
+0
-1
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/resources/META-INF/withAssignedDataSource.yaml
...e/src/main/resources/META-INF/withAssignedDataSource.yaml
+0
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/resources/META-INF/withDefaultDataSource.yaml
...le/src/main/resources/META-INF/withDefaultDataSource.yaml
+0
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/resources/META-INF/withMasterSlaveDataSource.yaml
...rc/main/resources/META-INF/withMasterSlaveDataSource.yaml
+0
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/resources/all_schema.sql
...c-raw-jdbc-yaml-example/src/main/resources/all_schema.sql
+0
-0
sharding-jdbc-raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example/src/main/resources/logback.xml
...jdbc-raw-jdbc-yaml-example/src/main/resources/logback.xml
+0
-0
未找到文件。
pom.xml
浏览文件 @
c5c9e1c6
...
...
@@ -8,7 +8,6 @@
<modules>
<module>
sharding-jdbc-example-mybatis
</module>
<module>
sharding-jdbc-example-jpa
</module>
<module>
sharding-jdbc-example-config-yaml
</module>
<module>
sharding-jdbc-example-config-spring
</module>
<module>
sharding-jdbc-example-config-spring-masterslave
</module>
<module>
sharding-jdbc-example-jdbc-transaction
</module>
...
...
sharding-jdbc-example-config-spring-masterslave/src/main/java/io/shardingjdbc/example/config/spring/masterslave/algorithm/PreciseModuloTableShardingAlgorithm.java
浏览文件 @
c5c9e1c6
...
...
@@ -18,8 +18,8 @@
package
io.shardingjdbc.example.config.spring.masterslave.algorithm
;
import
io.shardingjdbc.core.api.
strategy
.PreciseShardingValue
;
import
io.shardingjdbc.core.
routing.strategy
.standard.PreciseShardingAlgorithm
;
import
io.shardingjdbc.core.api.
algorithm.sharding
.PreciseShardingValue
;
import
io.shardingjdbc.core.
api.algorithm.sharding
.standard.PreciseShardingAlgorithm
;
import
java.util.Collection
;
...
...
sharding-jdbc-example-jdbc-transaction/src/main/java/io/shardingjdbc/example/transaction/algorithm/ModuloShardingAlgorithm.java
浏览文件 @
c5c9e1c6
...
...
@@ -17,8 +17,8 @@
package
io.shardingjdbc.example.transaction.algorithm
;
import
io.shardingjdbc.core.api.
strategy
.PreciseShardingValue
;
import
io.shardingjdbc.core.
routing.strategy
.standard.PreciseShardingAlgorithm
;
import
io.shardingjdbc.core.api.
algorithm.sharding
.PreciseShardingValue
;
import
io.shardingjdbc.core.
api.algorithm.sharding
.standard.PreciseShardingAlgorithm
;
import
java.util.Collection
;
...
...
sharding-jdbc-example-jpa/src/main/java/io/shardingjdbc/example/jpa/algorithm/PreciseModuloDatabaseShardingAlgorithm.java
浏览文件 @
c5c9e1c6
...
...
@@ -17,8 +17,8 @@
package
io.shardingjdbc.example.jpa.algorithm
;
import
io.shardingjdbc.core.api.
strategy
.PreciseShardingValue
;
import
io.shardingjdbc.core.
routing.strategy
.standard.PreciseShardingAlgorithm
;
import
io.shardingjdbc.core.api.
algorithm.sharding
.PreciseShardingValue
;
import
io.shardingjdbc.core.
api.algorithm.sharding
.standard.PreciseShardingAlgorithm
;
import
java.util.Collection
;
...
...
sharding-jdbc-example-jpa/src/main/java/io/shardingjdbc/example/jpa/algorithm/PreciseModuloTableShardingAlgorithm.java
浏览文件 @
c5c9e1c6
...
...
@@ -17,8 +17,8 @@
package
io.shardingjdbc.example.jpa.algorithm
;
import
io.shardingjdbc.core.api.
strategy
.PreciseShardingValue
;
import
io.shardingjdbc.core.
routing.strategy
.standard.PreciseShardingAlgorithm
;
import
io.shardingjdbc.core.api.
algorithm.sharding
.PreciseShardingValue
;
import
io.shardingjdbc.core.
api.algorithm.sharding
.standard.PreciseShardingAlgorithm
;
import
java.util.Collection
;
...
...
sharding-jdbc-example-orchestration/src/main/java/io/shardingjdbc/example/orchestration/algorithm/ModuloTableShardingAlgorithm.java
浏览文件 @
c5c9e1c6
...
...
@@ -17,8 +17,8 @@
package
io.shardingjdbc.example.orchestration.algorithm
;
import
io.shardingjdbc.core.api.
strategy
.PreciseShardingValue
;
import
io.shardingjdbc.core.
routing.strategy
.standard.PreciseShardingAlgorithm
;
import
io.shardingjdbc.core.api.
algorithm.sharding
.PreciseShardingValue
;
import
io.shardingjdbc.core.
api.algorithm.sharding
.standard.PreciseShardingAlgorithm
;
import
java.util.Collection
;
...
...
sharding-jdbc-raw-jdbc-example/pom.xml
浏览文件 @
c5c9e1c6
...
...
@@ -11,5 +11,6 @@
<modules>
<module>
sharding-jdbc-raw-jdbc-java-example
</module>
<module>
sharding-jdbc-raw-jdbc-yaml-example
</module>
</modules>
</project>
sharding-jdbc-
example-config-yaml
/pom.xml
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/pom.xml
浏览文件 @
c5c9e1c6
...
...
@@ -5,8 +5,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
io.shardingjdbc
</groupId>
<artifactId>
sharding-jdbc-example
</artifactId>
<artifactId>
sharding-jdbc-
raw-jdbc-
example
</artifactId>
<version>
2.0.0.M1-SNAPSHOT
</version>
</parent>
<artifactId>
sharding-jdbc-
example-config-yaml
</artifactId>
<artifactId>
sharding-jdbc-
raw-jdbc-yaml-example
</artifactId>
</project>
sharding-jdbc-
example-config-yaml
/src/main/java/io/shardingjdbc/example/config/spring/YamlWithAssignedDataSourceMain.java
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/java/io/shardingjdbc/example/config/spring/YamlWithAssignedDataSourceMain.java
浏览文件 @
c5c9e1c6
文件已移动
sharding-jdbc-
example-config-yaml
/src/main/java/io/shardingjdbc/example/config/spring/YamlWithDefaultDataSourceMain.java
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/java/io/shardingjdbc/example/config/spring/YamlWithDefaultDataSourceMain.java
浏览文件 @
c5c9e1c6
文件已移动
sharding-jdbc-
example-config-yaml
/src/main/java/io/shardingjdbc/example/config/spring/YamlWithMasterSlaveDataSourceMain.java
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/java/io/shardingjdbc/example/config/spring/YamlWithMasterSlaveDataSourceMain.java
浏览文件 @
c5c9e1c6
...
...
@@ -17,7 +17,6 @@
package
io.shardingjdbc.example.config.spring
;
import
io.shardingjdbc.config.yaml.api.YamlMasterSlaveDataSource
;
import
javax.sql.DataSource
;
...
...
sharding-jdbc-
example-config-yaml
/src/main/resources/META-INF/withAssignedDataSource.yaml
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/resources/META-INF/withAssignedDataSource.yaml
浏览文件 @
c5c9e1c6
文件已移动
sharding-jdbc-
example-config-yaml
/src/main/resources/META-INF/withDefaultDataSource.yaml
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/resources/META-INF/withDefaultDataSource.yaml
浏览文件 @
c5c9e1c6
文件已移动
sharding-jdbc-
example-config-yaml
/src/main/resources/META-INF/withMasterSlaveDataSource.yaml
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/resources/META-INF/withMasterSlaveDataSource.yaml
浏览文件 @
c5c9e1c6
文件已移动
sharding-jdbc-
example-config-yaml
/src/main/resources/all_schema.sql
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/resources/all_schema.sql
浏览文件 @
c5c9e1c6
文件已移动
sharding-jdbc-
example-config-yaml
/src/main/resources/logback.xml
→
sharding-jdbc-
raw-jdbc-example/sharding-jdbc-raw-jdbc-yaml-example
/src/main/resources/logback.xml
浏览文件 @
c5c9e1c6
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录