如果你的后台结构是spring+mybatis,可以通过spring的AbstractRoutingDataSource和mybatis Plugin拦截器实现非常友好的读写分离,原有代码不需要任何改变。
-
Notifications
You must be signed in to change notification settings - Fork 2
shawntime/shawn-rwdb
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
spring+mybatis实现数据库读写分离
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published