Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35458 72 d 17 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 74 d 1 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.
 
33514 611 d 16 h tejus.lohani /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ import changes for OTPProcessor and reponse  
33314 669 d 19 h ranu /trunk/ is smartphone or not  
30330 1410 d 19 h tejbeer /trunk/ change  
29597 1562 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28308 1770 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
28307 1770 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
26655 2116 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
26516 2159 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
24873 2509 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed pdff mo  
23839 2800 d 2 h amit.gupta /trunk/ changed mail domain profitmandi.com -> smartdukaan.com  
23568 2876 d 20 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23016 3008 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23015 3008 d 22 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23001 3015 d 20 h amit.gupta /trunk/ Fixed invoice  
23000 3016 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22999 3016 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22997 3016 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22994 3016 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22993 3016 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added policyNumber on successful policy creation  
22937 3029 d 22 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22932 3030 d 0 h amit.gupta /trunk/ Added Gadget Cop insurance Calc Response  
22918 3030 d 3 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added to  
22917 3030 d 5 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22916 3030 d 5 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22915 3030 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22913 3030 d 6 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22912 3030 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22911 3030 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22910 3030 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22907 3030 d 9 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22898 3030 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22896 3031 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22894 3031 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22893 3031 d 22 h amit.gupta /trunk/  
22892 3032 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22889 3032 d 1 h amit.gupta /trunk/ Added insurance creation logic for third party  
22866 3037 d 2 h ashik.ali /trunk/profitmandi-web/src/main/ Gadget Cops insurance mapping api