Comments (1)
@jiulingchen 是动态切换数据源么?还是只是修改默认数据源为mysql或者oracle?
- 如果是动态切换数据源,使用
DynamicDataSource.use(dataSourceId)
切换,或者注解@UseDataSource(dataSourceId) - 如果是修改默认数据源,修改
application.yml
中的数据源url即可。
from hsweb-demo.
Related Issues (10)
- hsweb-demo HOT 2
- 如何部署到云服务器上? HOT 1
- test页面在哪里
- The type org.hsweb.web.service.commons.SimpleUpdateService cannot be resolved. It is indirectly referenced from required .class files HOT 2
- The problem is similar to the upstairs. HOT 1
- Mac 怎么才能直接运行呢? HOT 1
- 执行 ./mvnw spring-boot:run 后报错 Could not resolve dependencies HOT 3
- 运行没有问题,但是我想看实现这些功能的源码,在这个hsweb-demo中并没有,全是用Maven实现的依赖 HOT 4
- 启动正常,http://localhost:8080/ 无法访问是什么情况? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsweb-demo.