1、利用spring_boot fat jar的方式启动
2、利用以下的方式加载业务于 sharding-jdbc的模块 Object[] starts = new Object[3]; starts[0] = SpringBootDataMybatisMain.class; SpringApplication.run(starts, args); 还是测试阶段的验证
Showing
23 changed files
with
706 additions
and
9 deletions
core-business/core-buiness-demo/demo-dao/src/main/resources/META-INF/mappers/OrderItemMapper.xml
0 → 100755
core-business/core-buiness-demo/demo-dao/src/main/resources/META-INF/mappers/OrderMapper.xml
0 → 100755
core-business/core-buiness-demo/demo-dao/src/main/resources/application-sharding.properties
0 → 100755
core-business/core-buiness-demo/pom.xml
0 → 100644
core-business/pom.xml
0 → 100644
-
Please register or sign in to post a comment