新增sharding-jdbc-demo分库分表演示工程(sharding-sphere3.1.0)

This commit is contained in:
zlt
2019-04-08 15:20:18 +08:00
parent 4373090213
commit d0f9d1b996
21 changed files with 556 additions and 2 deletions
@@ -0,0 +1,22 @@
server:
port: 11001
spring:
profiles:
active: sharding-databases
application:
name: sharding-jdbc-demo
zlt:
datasource:
ip: 192.168.28.131
username: root
password: 1q2w3e4r
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.sharding.demo.model
global-config:
db-config:
id-type: ID_WORKER