• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aspectran / aspectran / #5088

24 Mar 2026 03:01PM UTC coverage: 41.822% (+0.05%) from 41.776%
#5088

push

github

topframe
Enhance MyBatis integration with dynamic routing and intuitive API

- Add debug logging in SqlSessionAdviceRegister to show automatically registered AspectRule objects for better visibility.
- Support targetBeanId in SqlSessionAdviceRegister and SqlSessionProvider for more precise AOP pointcuts targeting specific bean IDs.
- Enhance SqlMapperAccess and SqlMapperProvider with intuitive and symmetric method names: session(), mapper(), batchSession(), batchMapper(), etc.
- Deprecate older methods (simple, batch, reuse) in favor of the new naming convention.
- Override getMapper in SqlSessionAgent to support dynamic routing for MyBatis mappers by passing the agent itself to the mapper proxy.

24 of 40 new or added lines in 6 files covered. (60.0%)

16 existing lines in 2 files now uncovered.

17842 of 42662 relevant lines covered (41.82%)

0.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

11.11
/with-mybatis/src/main/java/com/aspectran/mybatis/SqlMapperProvider.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc