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 12 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 20 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.
 
33249 636 d 18 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ added some exception  
23786 2773 d 17 h amit.gupta /trunk/ Major commit.
1. Fixed profitmandi-web refactored as per new role management logic.
2. Added Allocation Mechanism
3. Minor bug fixes.
 
23635 2814 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed shop address  
23568 2831 d 15 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23332 2902 d 20 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23300 2907 d 16 h amit.gupta /trunk/ Fixed migration util  
23273 2914 d 15 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
23227 2922 d 16 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23115 2943 d 14 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23048 2957 d 15 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23042 2957 d 21 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23041 2957 d 21 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23039 2957 d 22 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23038 2957 d 22 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
23035 2958 d 14 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22965 2979 d 20 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22964 2979 d 20 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22954 2983 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22931 2984 d 20 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
22876 2990 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ fixed bug while sending fofo interest  
22875 2990 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22855 2993 d 14 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed bug pertaining to different addresses  
22743 3003 d 18 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22732 3006 d 15 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22656 3015 d 13 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22604 3019 d 17 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22554 3023 d 7 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed issue related to Clicks controller  
22553 3023 d 8 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
22524 3027 d 19 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
22503 3033 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added private deal user if its not available.  
22495 3035 d 19 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Removed logic for fofo creation  
22473 3040 d 21 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
22355 3060 d 19 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/  
22273 3075 d 21 h amit.gupta /trunk/profitmandi-web/src/main/ Segregated deals to profitmandi to online deals and rest  
22041 3100 d 13 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed retailer creation  
22037 3100 d 18 h amit.gupta /trunk/ Added exception class for controller  
22011 3103 d 13 h ashik.ali /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/  
21769 3132 d 23 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/