Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35459 144 d 2 h amit /trunk/ Revert non-Java file changes from r35458  
35458 144 d 2 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
35438 145 d 4 h amit /trunk/profitmandi-fofo/src/main/resources/ Fix log4j2.xml: restore server paths (/var/log/tomcat7)  
35433 146 d 1 h amit /trunk/profitmandi-fofo/ Add @Transactional(readOnly=true) to read-only controllers for performance

Updated 11 controllers that only perform read operations:
- AnalysisDashboardController, InvoiceController, ItemLedgerController
- MapTrackController, MarginController, MongoMigrationController
- PartnerPendingTasksController, PostOfficeController, ScanRecordController
- LogixController, MonitorController

Benefits:
- Hibernate skips dirty checking (faster)
- Database can optimize for read-only queries
- Connection marked as read-only for potential read replica routing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
33262 749 d 7 h ranu /trunk/profitmandi-fofo/src/main/resources/ log4j xml file change  
33258 750 d 4 h ranu /trunk/ change path invoices invoice service  
33185 768 d 3 h ranu /trunk/profitmandi-fofo/src/main/resources/ upadate and revert log4j2.xml  
33183 768 d 3 h shampa /trunk/ show all vendors data report without select any particular vendor. Add download csv file.  
32612 917 d 13 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/ removed tr  
30013 1549 d 6 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/ Fixed Logging  
29621 1630 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
29618 1630 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
26437 2253 d 6 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
23884 2861 d 6 h amit.gupta /trunk/ Added major changes  
23774 2898 d 10 h amit.gupta /trunk/profitmandi-fofo/src/main/resources/  
23609 2938 d 10 h govind /trunk/ trigger time changed in log4j2.xml  
23605 2939 d 10 h govind /trunk/profitmandi-fofo/src/main/resources/ trigger time changed in log4j2.xml  
23586 2941 d 9 h ashik.ali /trunk/profitmandi-fofo/src/main/resources/ commit by mistake : changes file location accidently  
23584 2941 d 11 h ashik.ali /trunk/profitmandi-fofo/ Able to edit order customer details from panel  
23568 2948 d 5 h govind /trunk/ Fixed changes related to logging. Updated to log4j2