新增sharding-jdbc-demo分库分表演示工程(sharding-sphere3.1.0)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user