Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35458 27 d 5 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 28 d 14 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.
 
26228 2187 d 13 h amit.gupta /trunk/ Fixed Recharge  
25703 2284 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
25547 2319 d 9 h amit.gupta /trunk/ Fixed Wallet  
25100 2402 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
25048 2410 d 11 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
25007 2420 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24893 2447 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24349 2584 d 8 h amit.gupta /trunk/ Added Investment Summary  
24276 2593 d 9 h amit.gupta /trunk/ Fixed partner mark  
24260 2600 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23592 2824 d 3 h tejbeer /trunk/ recharge Changes  
23587 2824 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ createRecharge  
23585 2824 d 13 h tejbeer /trunk/ rechargeChanges  
23568 2831 d 9 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23273 2914 d 9 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
23115 2943 d 8 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23101 2945 d 10 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23100 2945 d 11 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23098 2945 d 12 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23037 2958 d 8 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22931 2984 d 14 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
22411 3049 d 13 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed status during poll  
22040 3100 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added exception for profitmandi  
21740 3137 d 6 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
21735 3137 d 7 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
21734 3137 d 7 h ashik.ali /trunk/  
21730 3137 d 9 h ashik.ali /trunk/  
21702 3139 d 9 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21534 3160 d 13 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
21523 3162 d 10 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21522 3162 d 10 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21519 3162 d 10 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21518 3162 d 11 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21517 3162 d 11 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
21514 3163 d 7 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21510 3163 d 12 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
21505 3164 d 7 h kshitij.sood /trunk/profitmandi-web/src/main/  
21468 3171 d 3 h kshitij.sood /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/