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

aspectran / aspectran / #5129

05 Apr 2026 09:51AM UTC coverage: 42.776% (-0.02%) from 42.798%
#5129

push

github

topframe
[jpa] Refactor EntityManager agents and implement read-only hint constraint

- Refactor class hierarchy to separate RoutingEntityManagerAgent and introduce
  flexible querydsl-integrated agents (DefaultEntityQuery, RoutingEntityQuery).
- Implement fail-fast read-only constraint in AbstractEntityManagerAgent to prevent
  unauthorized data modification when a read-only transactional hint is present.
- Convert EntityManagerProvider into an interface and consolidate common settings
  into AbstractEntityManagerProvider for better abstraction.
- Clean up AOP interception targets by removing non-Advisable management methods
  (e.g., getEntityManager*) from routing patterns.
- Adopt Primary-Replica terminology across all JPA-related components and documentation.
- Comprehensively update Javadoc and add package-info.java for the routing package.

0 of 1 new or added line in 1 file covered. (0.0%)

205 existing lines in 10 files now uncovered.

18462 of 43160 relevant lines covered (42.78%)

0.43 hits per line

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

85.29
/with-jpa/src/main/java/com/aspectran/jpa/EntityManagerAdvice.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