Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35458 28 d 3 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
 
35435 29 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Add @Transactional(readOnly = true) to GET methods in controllers

Added @Transactional(readOnly = true) to all read-only GET methods across 14 controllers:
- RetailerController (10 methods)
- UserController (16 methods)
- WalletController (5 methods)
- CartController (2 methods)
- StoreController (25 methods)
- DealsController (20 methods)
- ShopController (1 method)
- CustomerController (2 methods)
- NotificationController (3 methods)
- SolrSearchController (2 methods)
- InsuranceController (1 method)
- GatewayController (1 method)
- LeadController (13 methods)
- RechargeController (4 methods)

Total: 105 methods updated

All methods verified to only set @Transient fields on entities, ensuring no dirty writes.
 
34902 148 d 4 h vikas /trunk/ Affiliate Order  
34196 339 d 6 h ranu /trunk/ insurance and hid correction  
33474 572 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ commit  
33473 572 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ commit  
31715 1040 d 8 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30989 1206 d 11 h tejbeer /trunk/ change  
29625 1514 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed capturing of payment  
29612 1515 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29611 1515 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29594 1519 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29503 1542 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added Logic to handle KredX  
29417 1557 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29416 1557 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29415 1557 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29333 1569 d 7 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ change  
29328 1570 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
29327 1570 d 12 h tejbeer /trunk/ change  
29325 1571 d 11 h tejbeer /trunk/  

Show All