sharding-jdbc不分片策略NoneShardingStrategy在springboot中的写法
使用springboot的application.properties来定义分片策略时,
sharding.jdbc.config.sharding.default-database-strategy.none=
这样写会报错
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target io.shardingjdbc.spring.boot.sharding.SpringBootShardingRuleConfigurationProperties@675ffd1d failed:
Property: sharding.jdbc.config.sharding.defaultDatabaseStrategy.