如果你的后台结构是spring+mybatis,可以通过spring的AbstractRoutingDataSource和mybatis Plugin拦截器实现非常友好的读写分离,原有代码不需要任何改变。
forked from borderx/shawn-rwdb
-
Notifications
You must be signed in to change notification settings - Fork 0
libybai/shawn-rwdb
About
spring+mybatis实现数据库读写分离
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%