Closed rajadilipkolli closed 3 months ago
The changes primarily focus on enhancing data access logic and transaction management within the application. Specifically, several repository methods have had their read-only transaction annotations removed, indicating a shift in functionality. Improvements in querying, particularly for scheme names, offer greater flexibility. Additionally, updates to service logic enhance control flow for managing null identifiers. Lastly, the PostgreSQL Docker image has been upgraded to ensure the use of the latest features and fixes.
Files | Change Summary |
---|---|
src/main/java/com/learning/mfscreener/repository/MFSchemeRepository.java src/main/java/com/learning/mfscreener/repository/UserSchemeDetailsEntityRepository.java |
Removed @Transactional(readOnly = true) from multiple methods in MFSchemeRepository . Changed @Transactional to @Transactional(propagation = Propagation.REQUIRES_NEW) in UserSchemeDetailsEntityRepository . |
src/main/java/com/learning/mfscreener/service/UserSchemeDetailsService.java |
Added a new conditional branch in setAMFIIfNull method and introduced getSchemeId method to better handle null identifiers. |
src/test/java/com/learning/mfscreener/common/SQLContainersConfig.java |
Updated PostgreSQL Docker image tag from "16.3-alpine" to "16.4-alpine" for improved performance and features. |
sequenceDiagram
participant User
participant Service
participant Repository
User->>Service: Request scheme details
Service->>Repository: Fetch scheme by name
Repository-->>Service: Return scheme details
Service-->>User: Return response
🐰
In the code where changes bloom,
We hop along, dispelling gloom.
With queries tuned and logic bright,
Our service hops to new delight!
Keep on jumping, making way,
For better code, we cheer and play!
🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Refactor