Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35458 26 d 18 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
 
35456 26 d 19 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed method thats not readonly  
35435 28 d 3 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.
 
35369 36 d 22 h ranu /trunk/ out of stock allocation  
35309 55 d 21 h aman /trunk/ Fix:Monthly Sale show assesses sale  
35243 79 d 3 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat: Partner Monthly sale  
35211 92 d 19 h vikas /trunk/ App build Version & Notification Template  
35079 112 d 2 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
34917 140 d 21 h vikas /trunk/ SmartSeller Earnings and Referrals  
34902 146 d 19 h vikas /trunk/ Affiliate Order  
34899 146 d 20 h aman /trunk/ Fix: Affiliate Products, links and Authentication  
34884 151 d 2 h vikas /trunk/ Disabled POD Option  
34882 156 d 21 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat:Affiliate Service  
34878 157 d 21 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Changed force wallet debit on bidding  
34823 175 d 23 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34822 175 d 23 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34654 219 d 19 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Debit 500 From Wallet for Bid Security  
34562 246 d 14 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bid Update notification to another user  
34545 247 d 23 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
34494 262 d 15 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation changed bid starting amount  

Show All