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

aspectran / aspectran / #5085
45%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2026 06:24AM UTC
Jobs 1
Files 1028
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Mar 2026 05:55AM UTC coverage: 41.772% (+0.1%) from 41.673%
#5085

push

github

topframe
[mybatis] Implement dynamic routing and enhance transaction management

MyBatis Integration:
- Support transaction isolation level and read-only mode in SqlSessionAdvice.
- Implement dynamic aspect routing in SqlSessionProvider and SqlSessionAgent
  to automatically switch between writable and read-only sessions based on
  method name patterns.
- Enhance SqlSessionAdviceRegister to support Aspectran-standard include/exclude
  pointcut patterns for method-level advice.
- Simplify SqlMapperAccess by using Java generics to automatically resolve
  mapper types, reducing boilerplate code in DAO constructors.
- Ensure transactional integrity in ConsoleTxAspect by removing auto-commit
  and adding explicit @ExceptionThrown advice for rollback.

Testing Framework:
- Rename WebAspectranTester to WebActivityTester to better reflect its
  role in testing WebActivity.
- Introduce ActivityTester in the aspectran-test module to simplify
  executing test logic within an InstantActivity context.
- Update AspectranExtension and WebAspectranExtension to support injection
  of ActivityTester into test methods.
- Add comprehensive test cases in SqlSessionRoutingTest to verify
  dynamic routing and transaction rollback.

56 of 64 new or added lines in 3 files covered. (87.5%)

17811 of 42639 relevant lines covered (41.77%)

0.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
72.06
with-mybatis/src/main/java/com/aspectran/mybatis/SqlSessionProvider.java
2
82.42
with-mybatis/src/main/java/com/aspectran/mybatis/SqlSessionAdviceRegister.java
2
6.78
with-mybatis/src/main/java/com/aspectran/mybatis/SqlSessionAgent.java
Jobs
ID Job ID Ran Files Coverage
1 #5085.1 24 Mar 2026 06:24AM UTC 1028
41.77
Source Files on build #5085
  • Tree
  • List 1028
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • de9ef676 on github
  • Prev Build on master
  • Next Build on master
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